aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authortkikuchi <>2005-04-25 04:48:02 +0000
committertkikuchi <>2005-04-25 04:48:02 +0000
commit1fa0a12636fcf0b29a80b89064e57b92ea8e7789 (patch)
treeb9a66f3ee497b78e025bf771a39cf2fdb53ac60d /Mailman
parent8595f3a23328946d8d6b780bc410712f6f485d97 (diff)
downloadmailman2-1fa0a12636fcf0b29a80b89064e57b92ea8e7789.tar.gz
mailman2-1fa0a12636fcf0b29a80b89064e57b92ea8e7789.tar.xz
mailman2-1fa0a12636fcf0b29a80b89064e57b92ea8e7789.zip
Add TypeError for possible error when checking charset availablity.
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 4589b75a..6399a169 100644
--- a/Mailman/Message.py
+++ b/Mailman/Message.py
@@ -202,7 +202,7 @@ class Message(email.Message.Message):
# Check if charset is supported.
try:
unicode('x', charset)
- except (LookupError, ValueError):
+ except (LookupError, ValueError, TypeError):
return failobj
return charset