[Bug 1647450] [NEW] bin/add_members causes NameError when DISABLE_COMMAND_LOCALE_CSET = yes
Public bug reported: On non ascii locale and DISABLE_COMMAND_LOCALE_CSET = yes, bin/add_members get NameError because of uninitialized variable Mailman.i18n._ctype_charset, which is used by Mailman.i18n.tolocale(). When DISABLE_COMMAND_LOCALE_CSET = yes, the function tolocale() is used by bin/add_members only, so this affect only bin/add_members script. ** Affects: mailman Importance: Undecided Status: New ** Patch added: "least fix patch" https://bugs.launchpad.net/bugs/1647450/+attachment/4787690/+files/i18n.py.l... ** Branch linked: lp:mailman/2.1 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1647450 Title: bin/add_members causes NameError when DISABLE_COMMAND_LOCALE_CSET = yes To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1647450/+subscriptions
Thank you for the report and patch. I have applied the patch for the next release. ** Changed in: mailman Importance: Undecided => Low ** Changed in: mailman Status: New => Fix Committed ** Changed in: mailman Milestone: None => 2.1.24 ** Changed in: mailman Assignee: (unassigned) => Mark Sapiro (msapiro) -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1647450 Title: bin/add_members causes NameError when DISABLE_COMMAND_LOCALE_CSET = yes To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1647450/+subscriptions
** Changed in: mailman Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1647450 Title: bin/add_members causes NameError when DISABLE_COMMAND_LOCALE_CSET = yes To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1647450/+subscriptions
participants (2)
-
Mark Sapiro
-
Yasuhito FUTATSUKI@POEM