------------------------------------------------------------
revno: 1054
committer: Mark Sapiro <[EMAIL PROTECTED]>
branch nick: 2.1
timestamp: Mon 2008-03-03 10:06:28 -0800
message:
Fixed bin/newlist to add the list's preferred language to the list's
available_languages if it is other than the server's default language
(1906368).
modified:
NEWS
bin/newlist
=== modified file 'NEWS'
--- a/NEWS 2008-02-29 17:47:36 +0000
+++ b/NEWS 2008-03-03 18:06:28 +0000
@@ -158,6 +158,10 @@
- Fixed the command line scripts add_members, sync_members and
clone_member to properly handle banned addresses (1904737).
+ - Fixed bin/newlist to add the list's preferred language to the list's
+ available_languages if it is other than the server's default language
+ (1906368).
+
Miscellaneous
- Brad Knowles' mailman daily status report script updated to 0.0.17.
=== modified file 'bin/newlist'
--- a/bin/newlist 2005-08-27 01:40:17 +0000
+++ b/bin/newlist 2008-03-03 18:06:28 +0000
@@ -193,7 +193,11 @@
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:
--
Stable, maintained release series
https://code.launchpad.net/~mailman-coders/mailman/2.1
You are receiving this branch notification because you are subscribed to it.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org