~msapiro/mailman/topics

« back to all changes in this revision

Viewing changes to bin/newlist

  • Committer: Mark Sapiro
  • Date: 2014-12-03 23:47:23 UTC
  • mfrom: (1006.1.356 2.2)
  • Revision ID: mark@msapiro.net-20141203234723-3pcwx85xua4n84yx
Merged the 2.2 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! @PYTHON@
2
2
#
3
 
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
 
3
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
4
4
#
5
5
# This program is free software; you can redistribute it and/or
6
6
# modify it under the terms of the GNU General Public License
209
209
                else:
210
210
                    langs = [lang, mm_cfg.DEFAULT_SERVER_LANGUAGE]
211
211
                mlist.Create(listname, owner_mail, pw, langs=langs,
212
 
                             emailhost=host_name)
 
212
                             emailhost=host_name, urlhost=urlhost)
213
213
            finally:
214
214
                os.umask(oldmask)
215
215
        except Errors.BadListNameError, s:
216
216
            usage(1, _('Illegal list name: %(s)s'))
217
217
        except Errors.EmailAddressError, s:
218
 
            usage(1, _('Bad owner email address: %(s)s'))
 
218
            usage(1, _('Bad owner email address: %(s)s') +
 
219
                     _(' - owner addresses need to be fully-qualified names'
 
220
                       ' like "owner@example.com", not just "owner".'))
219
221
        except Errors.MMListAlreadyExistsError:
220
222
            usage(1, _('List already exists: %(listname)s'))
221
223