From cf89555ebe7e0778ab30eef5bea0c3fd634c9911 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Tue, 22 May 2001 21:05:41 +0000 Subject: process_request(): When calling the MTA-specific remove() function, pass in cgi=1 to let it know that it's being invoked ttw. --- Mailman/Cgi/rmlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mailman/Cgi/rmlist.py b/Mailman/Cgi/rmlist.py index 48b59b48a..dfb68a2c0 100644 --- a/Mailman/Cgi/rmlist.py +++ b/Mailman/Cgi/rmlist.py @@ -126,7 +126,7 @@ def process_request(doc, cgidata, mlist): if mm_cfg.MTA: modname = 'Mailman.MTA.' + mm_cfg.MTA __import__(modname) - sys.modules[modname].remove(mlist) + sys.modules[modname].remove(mlist, cgi=1) REMOVABLES = ['lists/%s'] -- cgit v1.3.1