diff options
author | A.M. Kuchling <amk@amk.ca> | 2008-03-07 12:44:50 -0500 |
---|---|---|
committer | A.M. Kuchling <amk@amk.ca> | 2008-03-07 12:44:50 -0500 |
commit | e7464301f0c0f900d331cb123629f0c29be79b4b (patch) | |
tree | 3bd5613bcbbe9e7aeb8354143f963a111d6f80b6 /bin/newlist | |
parent | 9a1ea28ea1432f59498f14ab873594fe0a4d2d19 (diff) | |
parent | dd3ada936da9f0f24f41f113902d35b20e895086 (diff) | |
download | mailman2-e7464301f0c0f900d331cb123629f0c29be79b4b.tar.gz mailman2-e7464301f0c0f900d331cb123629f0c29be79b4b.tar.xz mailman2-e7464301f0c0f900d331cb123629f0c29be79b4b.zip |
Merge
Diffstat (limited to 'bin/newlist')
-rwxr-xr-x | bin/newlist | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/newlist b/bin/newlist index 70e9cb8c..08b86e08 100755 --- a/bin/newlist +++ b/bin/newlist @@ -193,7 +193,11 @@ def main(): oldmask = os.umask(002) try: try: - mlist.Create(listname, owner_mail, pw) + if lang == mm_cfg.DEFAULT_SERVER_LANGUAGE: + langs = [lang] + else: + langs = [lang, mm_cfg.DEFAULT_SERVER_LANGUAGE] + mlist.Create(listname, owner_mail, pw, langs=langs) finally: os.umask(oldmask) except Errors.BadListNameError, s: |