From e531b1fafa3a889bf514afd3f6f45b65d2946176 Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Tue, 10 Feb 2004 22:59:45 +0000 Subject: main(): Use the new pending database interface. --- cron/disabled | 7 ++++--- 1 file 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: -- cgit v1.2.3