aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authortkikuchi <>2005-12-06 00:31:16 +0000
committertkikuchi <>2005-12-06 00:31:16 +0000
commit59c3c1ad8fb2bb7265ed8730f41ab897c55a24f1 (patch)
tree844e7c2859acd015c56fd0d64a24ee92cd72753a /Mailman
parentf9e51f6be5bfe31cc1f4abf6b419bf95c3fb137f (diff)
downloadmailman2-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.py2
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