aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorbwarsaw <>2004-02-29 16:57:58 +0000
committerbwarsaw <>2004-02-29 16:57:58 +0000
commit038b3afe27a5afb1a2f947d70b7fa1b522e6ca43 (patch)
tree5ed5e6860956f7b29799214265fe277871d33fc1 /Mailman
parent21ad7e7ac75ce46bbbfc9283509cba81a42c5511 (diff)
downloadmailman2-038b3afe27a5afb1a2f947d70b7fa1b522e6ca43.tar.gz
mailman2-038b3afe27a5afb1a2f947d70b7fa1b522e6ca43.tar.xz
mailman2-038b3afe27a5afb1a2f947d70b7fa1b522e6ca43.zip
__load(): Catch unpicking errors too.
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/MailList.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index 4c7f79e0..7b57c143 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -567,7 +567,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin,
if type(dict) <> DictType:
return None, 'Load() expected to return a dictionary'
except (EOFError, ValueError, TypeError, MemoryError,
- cPickle.PicklingError), e:
+ cPickle.PicklingError, cPickle.UnpicklingError), e:
return None, e
finally:
fp.close()