|
|
Update of /cvsroot/mailman/mailman/Mailman/Handlers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4073
Modified Files:
Scrubber.py
Log Message:
Add OverflowError in the except list.
See the thread beginning this post:
http://mail.python.org/pipermail/mailman-users/2005-September/046460.html
Index: Scrubber.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/Scrubber.py,v
retrieving revision 2.27
retrieving revision 2.28
diff -u -d -r2.27 -r2.28
--- Scrubber.py 28 Aug 2005 05:31:27 -0000 2.27
+++ Scrubber.py 19 Sep 2005 12:15:23 -0000 2.28
@@ -113,7 +113,7 @@
def safe_strftime(fmt, floatsecs):
try:
return time.strftime(fmt, floatsecs)
- except (TypeError, ValueError):
+ except (TypeError, ValueError, OverflowError):
return None
_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@xxxxxxxxxx
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/mailarch%40xy1.org
|
|