diff options
author | bwarsaw <> | 2004-02-29 16:57:58 +0000 |
---|---|---|
committer | bwarsaw <> | 2004-02-29 16:57:58 +0000 |
commit | 038b3afe27a5afb1a2f947d70b7fa1b522e6ca43 (patch) | |
tree | 5ed5e6860956f7b29799214265fe277871d33fc1 | |
parent | 21ad7e7ac75ce46bbbfc9283509cba81a42c5511 (diff) | |
download | mailman2-038b3afe27a5afb1a2f947d70b7fa1b522e6ca43.tar.gz mailman2-038b3afe27a5afb1a2f947d70b7fa1b522e6ca43.tar.xz mailman2-038b3afe27a5afb1a2f947d70b7fa1b522e6ca43.zip |
__load(): Catch unpicking errors too.
-rw-r--r-- | Mailman/MailList.py | 2 |
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() |