aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbwarsaw <>2004-02-10 22:59:45 +0000
committerbwarsaw <>2004-02-10 22:59:45 +0000
commite531b1fafa3a889bf514afd3f6f45b65d2946176 (patch)
tree25fed29a6de8ae7eb56d597f1dc67c56aff39103
parenta1fb17c247f8179caae0c27d89219b37b6d63fda (diff)
downloadmailman2-e531b1fafa3a889bf514afd3f6f45b65d2946176.tar.gz
mailman2-e531b1fafa3a889bf514afd3f6f45b65d2946176.tar.xz
mailman2-e531b1fafa3a889bf514afd3f6f45b65d2946176.zip
main(): Use the new pending database interface.
Diffstat (limited to '')
-rw-r--r--cron/disabled7
1 files changed, 4 insertions, 3 deletions
diff --git a/cron/disabled b/cron/disabled
index 75972e55..4e5eb69e 100644
--- a/cron/disabled
+++ b/cron/disabled
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 2001-2003 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2004 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -189,8 +189,9 @@ def main():
info = _BounceInfo(
member, 0, today,
mlist.bounce_you_are_disabled_warnings,
- Pending.new(Pending.RE_ENABLE, mlist.internal_name(),
- member))
+ mlist.pend_new(Pending.RE_ENABLE,
+ mlist.internal_name(),
+ member))
mlist.setBounceInfo(member, info)
lastnotice = time.mktime(info.lastnotice + (0,) * 6)
if force or today >= lastnotice + interval: