From 7ec7716fffbc8b05bb15c340eeca856a00c15ff7 Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Sun, 29 Feb 2004 03:40:34 +0000 Subject: dequeue(): Catch ValueErrors too. --- bin/update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/update') 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. -- cgit v1.2.3