[Mailman-Developers]
[ mailman-Bugs-605263 ] Bad var in ListAdmin._UpdateRecords()
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 05 Sep 2002 14:15:36 -0700
Bugs item #605263, was opened at 2002-09-05 14:15
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=605263&group_id=103
Category: configuring/installing
Group: 2.1 beta
Status: Open
Resolution: None
Priority: 5
Submitted By: Les Niles (lniles)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bad var in ListAdmin._UpdateRecords()
Initial Comment:
ListAdmin._UpdateRecords() (in the CVS head, and
as far as I can tell all the way back to its inception)
refers to "mlist", which raises a NameError when
updating some lists. Syntactically it would seem
that this should be "self" instead, and
experimentally that solves the problem.
Here's the patch:
*** ListAdmin.py.~1~ Wed Sep 4 23:25:26 2002
--- ListAdmin.py Thu Sep 5 00:38:24 2002
***************
*** 539,545 ****
# pre-2.1a2 compatibility
when, addr, passwd, digest = info
fullname = ''
! lang = mlist.preferred_language
elif len(info) == 5:
# pre-2.1a4 compatibility
when, addr, passwd, digest, lang =
info
--- 539,545 ----
# pre-2.1a2 compatibility
when, addr, passwd, digest = info
fullname = ''
! lang = self.preferred_language
elif len(info) == 5:
# pre-2.1a4 compatibility
when, addr, passwd, digest, lang =
info
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=605263&group_id=103