[Bug 1647450] [NEW] bin/add_members causes NameError when DISABLE_COMMAND_LOCALE_CSET = yes

Yasuhito FUTATSUKI at POEM futatuki at poem.co.jp
Mon Dec 5 14:07:34 EST 2016


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.leastfix.diff.txt

** 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


More information about the Mailman-coders mailing list