aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbwarsaw <>2004-04-24 12:25:57 +0000
committerbwarsaw <>2004-04-24 12:25:57 +0000
commit562aa6c5dadd2245671275bd84153b26b1ed264b (patch)
tree437f896f53bb2aea27d076428cee9b5a2e8b7904
parent320faafb17a889f5872d620bae5b455a8a1d1583 (diff)
downloadmailman2-562aa6c5dadd2245671275bd84153b26b1ed264b.tar.gz
mailman2-562aa6c5dadd2245671275bd84153b26b1ed264b.tar.xz
mailman2-562aa6c5dadd2245671275bd84153b26b1ed264b.zip
update_qfiles(): Skip the qfiles/bad directory.
-rwxr-xr-xbin/update3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/update b/bin/update
index 1a1e5e3d..3ecc304f 100755
--- a/bin/update
+++ b/bin/update
@@ -427,6 +427,9 @@ def update_qfiles():
# data out and re-queue them.
for dirname in os.listdir(mm_cfg.QUEUE_DIR):
dirpath = os.path.join(mm_cfg.QUEUE_DIR, dirname)
+ if dirpath == mm_cfg.BADQUEUE_DIR:
+ # The files in qfiles/bad can't possibly be pickles
+ continue
sb = Switchboard(dirpath)
for filename in os.listdir(dirpath):
filepath = os.path.join(dirpath, filename)