diff options
| author | bwarsaw | 2000-05-22 21:37:05 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-05-22 21:37:05 +0000 |
| commit | 6a8497078fb31954112730732382255c4fac8194 (patch) | |
| tree | 93ddeaee6826bec588c3c9c1f943e0ee58f38a47 /Mailman/ListAdmin.py | |
| parent | 74acaf620cd943fa08770d0e3ca3fafa6f9aa9d3 (diff) | |
| download | mailman-6a8497078fb31954112730732382255c4fac8194.tar.gz mailman-6a8497078fb31954112730732382255c4fac8194.tar.zst mailman-6a8497078fb31954112730732382255c4fac8194.zip | |
__handlepost(): No need to explicitly enqueue the message, since
DeliverToList() will now do this automatically if any pipeline module
fails.
Diffstat (limited to 'Mailman/ListAdmin.py')
| -rw-r--r-- | Mailman/ListAdmin.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py index 8dbcc8abf..9e8b1d3ae 100644 --- a/Mailman/ListAdmin.py +++ b/Mailman/ListAdmin.py @@ -179,9 +179,8 @@ class ListAdmin: raise Errors.LostHeldMessage(path) msg = Message.Message(fp) msgdata['approved'] = 1 - enqueue = HandlerAPI.DeliverToList(self, msg, newdata=msgdata) - if enqueue: - msg.Enqueue(self, msgdata) + # ignore return value + HandlerAPI.DeliverToList(self, msg, newdata=msgdata) elif value == 1: # Rejected rejection = 'Refused' |
