summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-07-26 05:21:34 +0000
committerbwarsaw2001-07-26 05:21:34 +0000
commit93f81f1325d787b3805d3c619d38ee8e102f4925 (patch)
tree6de4b267530c5d1a18c2c203114241dc222cb4ab
parentdb4356c721d313bc1bf805ac68985f554f12a6c8 (diff)
downloadmailman-93f81f1325d787b3805d3c619d38ee8e102f4925.tar.gz
mailman-93f81f1325d787b3805d3c619d38ee8e102f4925.tar.zst
mailman-93f81f1325d787b3805d3c619d38ee8e102f4925.zip
Lock(): If /any/ exception (not just MMUnknownListError) is raised
during the Load(), unlock the list and re-raise the exception.
-rw-r--r--Mailman/MailList.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index 24b913c8f..71ee39e58 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -150,7 +150,7 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
# don't exist.
try:
self.Load()
- except Errors.MMUnknownListError:
+ except Exception:
self.Unlock()
raise