aboutsummaryrefslogtreecommitdiffstats
path: root/bin/newlist
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbin/newlist6
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: