diff options
author | tkikuchi <> | 2005-12-06 00:31:16 +0000 |
---|---|---|
committer | tkikuchi <> | 2005-12-06 00:31:16 +0000 |
commit | 59c3c1ad8fb2bb7265ed8730f41ab897c55a24f1 (patch) | |
tree | 844e7c2859acd015c56fd0d64a24ee92cd72753a /Mailman | |
parent | f9e51f6be5bfe31cc1f4abf6b419bf95c3fb137f (diff) | |
download | mailman2-59c3c1ad8fb2bb7265ed8730f41ab897c55a24f1.tar.gz mailman2-59c3c1ad8fb2bb7265ed8730f41ab897c55a24f1.tar.xz mailman2-59c3c1ad8fb2bb7265ed8730f41ab897c55a24f1.zip |
Looks like this set of Error is more appropriate.
Diffstat (limited to 'Mailman')
-rw-r--r-- | Mailman/Message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Message.py b/Mailman/Message.py index 227f3313..600b437a 100644 --- a/Mailman/Message.py +++ b/Mailman/Message.py @@ -195,7 +195,7 @@ class Message(email.Message.Message): try: filename = email.Message.Message.get_filename(self, failobj) return filename - except (UnicodeDecodeError, UnicodeError, ValueError): + except (UnicodeError, LookupError, ValueError): return failobj |