aboutsummaryrefslogtreecommitdiffstats
path: root/bin/newlist
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2010-02-27 09:57:24 -0800
committerMark Sapiro <mark@msapiro.net>2010-02-27 09:57:24 -0800
commit136ceb7679d51fa50504bbcdbf09c224c188e2ec (patch)
tree1cbeb6aff4ce6fbfbd10360c5b430a671155125d /bin/newlist
parent3eaeb16bbe2eeb039bd37a190f8ddf5d36533c57 (diff)
downloadmailman2-136ceb7679d51fa50504bbcdbf09c224c188e2ec.tar.gz
mailman2-136ceb7679d51fa50504bbcdbf09c224c188e2ec.tar.xz
mailman2-136ceb7679d51fa50504bbcdbf09c224c188e2ec.zip
Added a urlhost argument to the MailList.MailList.Create() method to
allow bin/newlist and the the create CGI to pass urlhost so the host will be correct in the listinfo link on the emptyarchive page. Bug #529100.
Diffstat (limited to 'bin/newlist')
-rwxr-xr-xbin/newlist4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/newlist b/bin/newlist
index 6e02de97..c14b77f3 100755
--- a/bin/newlist
+++ b/bin/newlist
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -198,7 +198,7 @@ def main():
else:
langs = [lang, mm_cfg.DEFAULT_SERVER_LANGUAGE]
mlist.Create(listname, owner_mail, pw, langs=langs,
- emailhost=host_name)
+ emailhost=host_name, urlhost=urlhost)
finally:
os.umask(oldmask)
except Errors.BadListNameError, s: