Update of /cvsroot/mailman/mailman/bin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5042

Modified Files:
      Tag: Release_2_1-maint
        update 
Log Message:
update_pending(): Return immediately if the pending db has already been update
or otherwise doesn't exist.


Index: update
===================================================================
RCS file: /cvsroot/mailman/mailman/bin/update,v
retrieving revision 2.22.2.4
retrieving revision 2.22.2.5
diff -u -d -r2.22.2.4 -r2.22.2.5
--- update      29 Feb 2004 03:40:34 -0000      2.22.2.4
+++ update      29 Feb 2004 03:43:45 -0000      2.22.2.5
@@ -548,6 +548,9 @@
         else:
             print _('Updating Mailman 2.1.4 pending.pck database')
             db = cPickle.load(fp)
+    if db is None:
+        print _('Nothing to do.')
+        return
     # Now upgrade the database to the 2.1.5 format.  Each list now has its own
     # pending.pck file, but only the RE_ENABLE operation actually recorded the
     # listname in the request.  For the SUBSCRIPTION, UNSUBSCRIPTION, and


_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to