summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorviega1998-06-02 02:39:31 +0000
committerviega1998-06-02 02:39:31 +0000
commitaa8181e9aa133cb189cc45ca82e1f6014c5d093a (patch)
tree5c058faf3bcd086aaee14f14a1552068922b441e
parent1497b0514f738fecdef9fb79a604b8f987eb79c5 (diff)
downloadmailman-aa8181e9aa133cb189cc45ca82e1f6014c5d093a.tar.gz
mailman-aa8181e9aa133cb189cc45ca82e1f6014c5d093a.tar.zst
mailman-aa8181e9aa133cb189cc45ca82e1f6014c5d093a.zip
Call MailList() w/ the new lock parameter set to 0. There's no need to
lock the list.
-rwxr-xr-xcron/gate_news2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron/gate_news b/cron/gate_news
index e9c159e66..26fdfd72c 100755
--- a/cron/gate_news
+++ b/cron/gate_news
@@ -35,7 +35,7 @@ for name in names:
wm = 0
# Save the current state to .last, in case we crash while writing out,
# and corrupt the file.
- list = maillist.MailList(name)
+ list = maillist.MailList(name, lock=0)
file = open(os.path.join(mm_cfg.DATA_DIR, "gate_watermarks.last"), "w")
marshal.dump(watermarks, file)
file.close()