[ mailman-Bugs-605263 ] Bad var in ListAdmin._UpdateRecords()

Bugs item #605263, was opened at 2002-09-05 17: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: Closed Resolution: Fixed 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
Comment By: Barry A. Warsaw (bwarsaw) Date: 2002-09-13 14:40
Message: Logged In: YES user_id=12800
Thanks!
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100103&aid=605263&group_id=103
participants (1)
-
noreply@sourceforge.net