aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2008-06-06 11:13:09 -0700
committerMark Sapiro <mark@msapiro.net>2008-06-06 11:13:09 -0700
commit72bb6de0ca937f387812ebae2955dd7be867902a (patch)
tree367aa1c0ea83e059e08bd247c22e6f2ecd306d23 /bin
parent1f5bb73a37207e5491130b788db39330492f625f (diff)
parent17b4a1bc0a85320f46357cffde8232220a113e11 (diff)
downloadmailman2-72bb6de0ca937f387812ebae2955dd7be867902a.tar.gz
mailman2-72bb6de0ca937f387812ebae2955dd7be867902a.tar.xz
mailman2-72bb6de0ca937f387812ebae2955dd7be867902a.zip
Merged the cull_bad_shunt branch.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/update b/bin/update
index ac83094a..bb4682d3 100755
--- a/bin/update
+++ b/bin/update
@@ -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'):