diff options
author | bwarsaw <> | 2004-04-24 12:25:57 +0000 |
---|---|---|
committer | bwarsaw <> | 2004-04-24 12:25:57 +0000 |
commit | 562aa6c5dadd2245671275bd84153b26b1ed264b (patch) | |
tree | 437f896f53bb2aea27d076428cee9b5a2e8b7904 | |
parent | 320faafb17a889f5872d620bae5b455a8a1d1583 (diff) | |
download | mailman2-562aa6c5dadd2245671275bd84153b26b1ed264b.tar.gz mailman2-562aa6c5dadd2245671275bd84153b26b1ed264b.tar.xz mailman2-562aa6c5dadd2245671275bd84153b26b1ed264b.zip |
update_qfiles(): Skip the qfiles/bad directory.
-rwxr-xr-x | bin/update | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |