[Mailman-Developers] To be more precise on the Web errors...

Barry A. Warsaw barry@zope.com
Mon, 22 Oct 2001 16:28:01 -0400


I'm a big dummy.  MailList.Locked() can't be called on an already
locked list.  So this should do the trick (apply on top of last patch,
or just "cvs up" in a few minutes).

-Barry

-------------------- snip snip --------------------
Index: MailList.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/MailList.py,v
retrieving revision 2.46
diff -u -r2.46 MailList.py
--- MailList.py	2001/10/22 19:20:37	2.46
+++ MailList.py	2001/10/22 20:27:08
@@ -545,7 +545,8 @@
             self.Load(check_version=0)
             # We must hold the list lock in order to update the schema
             waslocked = self.Locked()
-            self.Lock()
+            if not waslocked:
+                self.Lock()
             try:
                 from versions import Update
                 Update(self, stored_state)