From 93f81f1325d787b3805d3c619d38ee8e102f4925 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Thu, 26 Jul 2001 05:21:34 +0000 Subject: Lock(): If /any/ exception (not just MMUnknownListError) is raised during the Load(), unlock the list and re-raise the exception. --- Mailman/MailList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/MailList.py') 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 -- cgit v1.2.3-70-g09d2