aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi/create.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Cgi/create.py')
-rw-r--r--Mailman/Cgi/create.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/Cgi/create.py b/Mailman/Cgi/create.py
index 03c313bc..09e4790c 100644
--- a/Mailman/Cgi/create.py
+++ b/Mailman/Cgi/create.py
@@ -227,7 +227,7 @@ def process_request(doc, cgidata):
# And send the notice to the list owner.
if notify:
- siteadmin = Utils.get_site_email(mlist.host_name, 'admin')
+ siteowner = Utils.get_site_email(mlist.host_name, 'owner')
text = Utils.maketext(
'newlist.txt',
{'listname' : listname,
@@ -235,10 +235,10 @@ def process_request(doc, cgidata):
'admin_url' : mlist.GetScriptURL('admin', absolute=1),
'listinfo_url': mlist.GetScriptURL('listinfo', absolute=1),
'requestaddr' : mlist.GetRequestEmail(),
- 'siteowner' : siteadmin,
+ 'siteowner' : siteowner,
}, mlist=mlist)
msg = Message.UserNotification(
- owner, siteadmin,
+ owner, siteowner,
_('Your new mailing list: %(listname)s'),
text, mlist.preferred_language)
msg.send(mlist)