diff options
author | bwarsaw <> | 2004-02-29 03:43:45 +0000 |
---|---|---|
committer | bwarsaw <> | 2004-02-29 03:43:45 +0000 |
commit | 8a01c503b91069541513d2cd90318a9967939924 (patch) | |
tree | d68a1e9e6693ed26a77e3103c9dc155c09bbac2c /bin/update | |
parent | 7ec7716fffbc8b05bb15c340eeca856a00c15ff7 (diff) | |
download | mailman2-8a01c503b91069541513d2cd90318a9967939924.tar.gz mailman2-8a01c503b91069541513d2cd90318a9967939924.tar.xz mailman2-8a01c503b91069541513d2cd90318a9967939924.zip |
update_pending(): Return immediately if the pending db has already been update
or otherwise doesn't exist.
Diffstat (limited to 'bin/update')
-rwxr-xr-x | bin/update | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |