diff options
| author | bwarsaw | 2000-05-22 21:52:50 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-05-22 21:52:50 +0000 |
| commit | a7c674b89d013fb26d6b60b06654ce5092bafdfd (patch) | |
| tree | fba7114cbedd2a146b643a94386d8509d62ae366 | |
| parent | c281f5824c431abe55a563954d7d3ea0aa81dd9b (diff) | |
| download | mailman-a7c674b89d013fb26d6b60b06654ce5092bafdfd.tar.gz mailman-a7c674b89d013fb26d6b60b06654ce5092bafdfd.tar.zst mailman-a7c674b89d013fb26d6b60b06654ce5092bafdfd.zip | |
main(): No need to explicitly enqueue the message, since
DeliverToList() will now do this automatically if any pipeline module
fails.
| -rwxr-xr-x | scripts/post | 7 |
1 files changed, 2 insertions, 5 deletions
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() |
