aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorbwarsaw <>2004-02-29 03:40:34 +0000
committerbwarsaw <>2004-02-29 03:40:34 +0000
commit7ec7716fffbc8b05bb15c340eeca856a00c15ff7 (patch)
treeaf1c13b1edcc01dc75eaa1928170dad4f52379f7 /bin
parent82b7487bf33d8f201cd70bab84c1a00fd77fa0c0 (diff)
downloadmailman2-7ec7716fffbc8b05bb15c340eeca856a00c15ff7.tar.gz
mailman2-7ec7716fffbc8b05bb15c340eeca856a00c15ff7.tar.xz
mailman2-7ec7716fffbc8b05bb15c340eeca856a00c15ff7.zip
dequeue(): Catch ValueErrors too.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update b/bin/update
index e57a588d..ea803f7f 100755
--- a/bin/update
+++ b/bin/update
@@ -502,7 +502,7 @@ def dequeue(filebase):
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.