Update of /cvsroot/mailman/mailman/Mailman/Handlers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13744
Modified Files:
Tag: Release_2_1-maint
Scrubber.py
Log Message:
variable name: it is not a floating number. (time tuple)
Index: Scrubber.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/Scrubber.py,v
retrieving revision 2.18.2.21
retrieving revision 2.18.2.22
diff -u -d -r2.18.2.21 -r2.18.2.22
--- Scrubber.py 29 Jan 2006 05:12:26 -0000 2.18.2.21
+++ Scrubber.py 3 Feb 2006 07:55:26 -0000 2.18.2.22
@@ -111,9 +111,9 @@
Generator._write_headers(self, msg)
-def safe_strftime(fmt, floatsecs):
+def safe_strftime(fmt, t):
try:
- return time.strftime(fmt, floatsecs)
+ return time.strftime(fmt, t)
except (TypeError, ValueError, OverflowError):
return None
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org