From 8a01c503b91069541513d2cd90318a9967939924 Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Sun, 29 Feb 2004 03:43:45 +0000 Subject: update_pending(): Return immediately if the pending db has already been update or otherwise doesn't exist. --- bin/update | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/update b/bin/update index ea803f7f..1a1e5e3d 100755 --- a/bin/update +++ b/bin/update @@ -548,6 +548,9 @@ def update_pending(): 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 -- cgit v1.2.3