aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbin/update3
1 files changed, 3 insertions, 0 deletions
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