------------------------------------------------------------ revno: 1449 fixes bug: https://launchpad.net/bugs/1291038 committer: Mark Sapiro <m...@msapiro.net> branch nick: 2.1 timestamp: Tue 2014-03-11 13:56:17 -0700 message: Fixed a NameError exception in cron/nightly_gzip when it tries to print the usage message. (LP: #1291038) modified: NEWS cron/nightly_gzip
-- lp:mailman/2.1 https://code.launchpad.net/~mailman-coders/mailman/2.1 Your team Mailman Checkins is subscribed to branch lp:mailman/2.1. To unsubscribe from this branch go to https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'NEWS' --- NEWS 2014-02-20 15:33:52 +0000 +++ NEWS 2014-03-11 20:56:17 +0000 @@ -14,6 +14,9 @@ Bug Fixes and other patches + - Fixed a NameError exception in cron/nightly_gzip when it tries to print + the usage message. (LP: #1291038) + - Fixed a bug in ListAdmin._handlepost that would crash when trying to preserve a held message for the site admin if HOLD_MESSAGES_AS_PICKLES is False. (LP: #1282365) === modified file 'cron/nightly_gzip' --- cron/nightly_gzip 2008-06-06 18:13:09 +0000 +++ cron/nightly_gzip 2014-03-11 20:56:17 +0000 @@ -1,6 +1,6 @@ #! @PYTHON@ # -# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2014 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 @@ -56,12 +56,16 @@ from Mailman import mm_cfg from Mailman import Utils from Mailman import MailList +from Mailman import i18n program = sys.argv[0] VERBOSE = 0 +_ = i18n._ +i18n.set_language(mm_cfg.DEFAULT_SERVER_LANGUAGE) + def usage(code, msg=''): if code: fd = sys.stderr
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org