Update of /cvsroot/mailman/mailman/bin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4586
Modified Files:
Tag: Release_2_1-maint
update
Log Message:
dequeue(): Catch ValueErrors too.
Index: update
===================================================================
RCS file: /cvsroot/mailman/mailman/bin/update,v
retrieving revision 2.22.2.3
retrieving revision 2.22.2.4
diff -u -d -r2.22.2.3 -r2.22.2.4
--- update 22 Feb 2004 22:43:15 -0000 2.22.2.3
+++ update 29 Feb 2004 03:40:34 -0000 2.22.2.4
@@ -502,7 +502,7 @@
os.unlink(msgfile)
except EnvironmentError, e:
if e.errno <> errno.ENOENT: raise
- except email.Errors.MessageParseError, e:
+ except (email.Errors.MessageParseError, ValueError), e:
# This message was unparsable, most likely because its
# MIME encapsulation was broken. For now, there's not
# much we can do about it.
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org