Update of /cvsroot/mailman/mailman/cron
In directory usw-pr-cvs1:/tmp/cvs-serv26755
Modified Files:
Tag: Release_2_0_1-branch
qrunner
Log Message:
main(): Urg. We have to ignore .tmp files along with .db files.
Index: qrunner
===================================================================
RCS file: /cvsroot/mailman/mailman/cron/Attic/qrunner,v
retrieving revision 1.18.2.4
retrieving revision 1.18.2.5
diff -C2 -d -r1.18.2.4 -r1.18.2.5
*** qrunner 2 Apr 2002 22:38:50 -0000 1.18.2.4
--- qrunner 9 Apr 2002 20:54:18 -0000 1.18.2.5
***************
*** 195,202 ****
lock.refresh()
root, ext = os.path.splitext(os.path.join(mm_cfg.QUEUE_DIR, file))
! if ext == '.db':
# Just trigger off the .msg files. This may leave stale .db files
# in qfiles, but these can't be cleaned up without storing a
! # timestamp and watching out for race conditions.
continue
if not os.path.exists(root+'.db'):
--- 195,203 ----
lock.refresh()
root, ext = os.path.splitext(os.path.join(mm_cfg.QUEUE_DIR, file))
! if ext == '.db' or ext == '.tmp':
# Just trigger off the .msg files. This may leave stale .db files
# in qfiles, but these can't be cleaned up without storing a
! # timestamp and watching out for race conditions. .tmp files are
! # created by Message.Enqueue() and are fleeting.
continue
if not os.path.exists(root+'.db'):
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-checkins