From 136ceb7679d51fa50504bbcdbf09c224c188e2ec Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sat, 27 Feb 2010 09:57:24 -0800 Subject: 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. --- bin/newlist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/newlist') 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: -- cgit v1.2.3