[Mailman-Users] 2.0rc2 upgrade FAILS if lists have pending requests

Barry A. Warsaw barry at digicool.com
Tue Nov 14 05:55:33 CET 2000


>>>>> "GC" == Greg Connor <gconnor at nekodojo.org> writes:

    GC> Error: "make update" and "make install" fail when there are
    GC> pending requests.

Buglet in rc2.  Here's the fix.

-Barry

-------------------- snip snip --------------------
Index: MailList.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/MailList.py,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -r1.187 -r1.188
--- MailList.py	2000/11/10 17:56:55	1.187
+++ MailList.py	2000/11/14 04:44:01	1.188
@@ -913,9 +913,10 @@
 	else:
 	    self.InitVars() # Init any new variables, 
 	    self.Load(check_version = 0) # then reload the file
-            from versions import Update
-            Update(self, stored_state)
-	    self.data_version = mm_cfg.DATA_FILE_VERSION
+            if self.Locked():
+                from versions import Update
+                Update(self, stored_state)
+                self.data_version = mm_cfg.DATA_FILE_VERSION
         if self.Locked():
             self.Save()
 




More information about the Mailman-Users mailing list