From 7881d885077b8cdecf2a911b17acef0c3732bb7c Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Mon, 22 May 2000 18:53:49 +0000 Subject: DeliverToList(): Take out debugging prints. DeliverToUser(): Don't set `recips' key in the dictionary definition, since it's set conditionally below that. --- Mailman/Handlers/HandlerAPI.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'Mailman/Handlers/HandlerAPI.py') diff --git a/Mailman/Handlers/HandlerAPI.py b/Mailman/Handlers/HandlerAPI.py index 95ccd781a..c8177625b 100644 --- a/Mailman/Handlers/HandlerAPI.py +++ b/Mailman/Handlers/HandlerAPI.py @@ -70,9 +70,7 @@ def DeliverToList(mlist, msg, msgdata): mod = __import__('Mailman.Handlers.' + modname) func = getattr(getattr(getattr(mod, 'Handlers'), modname), 'process') try: - mlist.LogMsg('debug', 'starting ' + modname) func(mlist, msg, msgdata) - mlist.LogMsg('debug', 'done with ' + modname) except DiscardMessage: # Throw the message away; we need do nothing else with it. return 0 @@ -145,7 +143,6 @@ def DeliverToUser(mlist, msg, newdata={}): ] msgdata = {'pipeline' : pipeline, 'fasttrack': 1, - 'recips' : msg.recips, } recips = getattr(msg, 'recips', None) if recips is not None: -- cgit v1.2.3-70-g09d2