summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-05-22 21:05:20 +0000
committerbwarsaw2001-05-22 21:05:20 +0000
commit0828ec7a964b98043991f93fbea3ba833e73269d (patch)
treef72ee16924404b782d178ea681e0caa9387d7433
parent0807fb36adf0f1e1e0af529d76c44e2038cf6c50 (diff)
downloadmailman-0828ec7a964b98043991f93fbea3ba833e73269d.tar.gz
mailman-0828ec7a964b98043991f93fbea3ba833e73269d.tar.zst
mailman-0828ec7a964b98043991f93fbea3ba833e73269d.zip
process_request(): When calling the MTA-specific create() function,
pass in cgi=1 to let it know that it's being invoked ttw.
-rw-r--r--Mailman/Cgi/create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Cgi/create.py b/Mailman/Cgi/create.py
index 0225b67d2..9dd4f4716 100644
--- a/Mailman/Cgi/create.py
+++ b/Mailman/Cgi/create.py
@@ -173,7 +173,7 @@ def process_request(doc, cgidata):
if mm_cfg.MTA:
modname = 'Mailman.MTA.' + mm_cfg.MTA
__import__(modname)
- sys.modules[modname].create(mlist)
+ sys.modules[modname].create(mlist, cgi=1)
# And send the notice to the list owner. BAW: Note that we might be
# setting the wrong From: address. There should probably be a