diff options
author | Mark Sapiro <mark@msapiro.net> | 2008-06-06 11:13:09 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2008-06-06 11:13:09 -0700 |
commit | 72bb6de0ca937f387812ebae2955dd7be867902a (patch) | |
tree | 367aa1c0ea83e059e08bd247c22e6f2ecd306d23 /bin/update | |
parent | 1f5bb73a37207e5491130b788db39330492f625f (diff) | |
parent | 17b4a1bc0a85320f46357cffde8232220a113e11 (diff) | |
download | mailman2-72bb6de0ca937f387812ebae2955dd7be867902a.tar.gz mailman2-72bb6de0ca937f387812ebae2955dd7be867902a.tar.xz mailman2-72bb6de0ca937f387812ebae2955dd7be867902a.zip |
Merged the cull_bad_shunt branch.
Diffstat (limited to 'bin/update')
-rwxr-xr-x | bin/update | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -442,6 +442,10 @@ def update_qfiles(): for filename in os.listdir(dirpath): filepath = os.path.join(dirpath, filename) filebase, ext = os.path.splitext(filepath) + # A bug in Mailman 2.1.9 left .bak files behind in some + # circumstances. It should be safe to remove them. + if ext == '.bak': + os.remove(filepath) # Handle the .db metadata files as part of the handling of the # .pck or .msg message files. if ext not in ('.pck', '.msg'): |