bin/add_members causes NameError when DISABLE_COMMAND_LOCALE_CSET = yes

Bug #1647450 reported by Yasuhito FUTATSUKI at POEM
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Low
Mark Sapiro

Bug Description

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.

Related branches

Revision history for this message
Yasuhito FUTATSUKI at POEM (futatuki) wrote :
Revision history for this message
Mark Sapiro (msapiro) wrote :

Thank you for the report and patch. I have applied the patch for the next release.

Changed in mailman:
assignee: nobody → Mark Sapiro (msapiro)
importance: Undecided → Low
milestone: none → 2.1.24
status: New → Fix Committed
Mark Sapiro (msapiro)
Changed in mailman:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers