From a7c674b89d013fb26d6b60b06654ce5092bafdfd Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Mon, 22 May 2000 21:52:50 +0000 Subject: main(): No need to explicitly enqueue the message, since DeliverToList() will now do this automatically if any pipeline module fails. --- scripts/post | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/post b/scripts/post index 688d5fcbf..b9720f03e 100755 --- a/scripts/post +++ b/scripts/post @@ -88,11 +88,8 @@ def main(): return try: msgdata = {} - enqueue = HandlerAPI.DeliverToList(mlist, msg, msgdata) - if enqueue: - # The delivery failed for some reason. Queue the message up for - # another attempt later. - msg.Enqueue(mlist, newdata=msgdata) + # ignore return value + HandlerAPI.DeliverToList(mlist, msg, msgdata) finally: mlist.Save() mlist.Unlock() -- cgit v1.2.3-70-g09d2