From 97440209f295b6836d4a5d9e7ef69322f5fb0057 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Thu, 1 Jun 2000 04:41:14 +0000 Subject: DeliverToList(): When the parameter msgdata has no 'pipeline' key, we must make a copy of LIST_PIPELINE, otherwise subsequent calls to DeliverToList() do nothing... e.g. qrunner on multiple message deliveries. --- Mailman/Handlers/HandlerAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/Handlers/HandlerAPI.py') diff --git a/Mailman/Handlers/HandlerAPI.py b/Mailman/Handlers/HandlerAPI.py index 43108574f..9b8002b62 100644 --- a/Mailman/Handlers/HandlerAPI.py +++ b/Mailman/Handlers/HandlerAPI.py @@ -64,7 +64,7 @@ LIST_PIPELINE = ['SpamDetect', # Central mail delivery handler def DeliverToList(mlist, msg, msgdata): - pipeline = msgdata.get('pipeline', LIST_PIPELINE) + pipeline = msgdata.get('pipeline', LIST_PIPELINE[:]) while pipeline: modname = pipeline.pop(0) mod = __import__('Mailman.Handlers.' + modname) -- cgit v1.2.3-70-g09d2