Permalink
Browse files

Only delete twistd.log.* files, leave twistd.log alone

--HG--
extra : rebase_source : 2650c32b7e306bfd61c4dc82abccb4e6f1923946
  • Loading branch information...
1 parent 231036b commit 0f8b269fbb090494616dd0d54e6148c99b1c074d @catlee catlee committed Feb 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 buildfarm/maintenance/master_cleanup.py
@@ -20,7 +20,7 @@ def clean_dir(dirname, timestamp):
# Look for twistd.log files
for f in files:
p = os.path.join(dirname, f)
- if f.startswith("twistd.log"):
+ if f.startswith("twistd.log."):
maybe_delete(p, timestamp)
elif os.path.isdir(p):

0 comments on commit 0f8b269

Please sign in to comment.