[Bug 558204] Re: allow specifying another list in accept_these_nonmembers

Mark Sapiro mark at msapiro.net
Sat May 1 02:26:34 CEST 2010


The attached list inclusion patch is a one-line change to the original
patch plus expansion of some tabs. The change replaces "if
mother.members.has_key(sender)" with "if mother.isMember(sender)". Using
the isMember() method will work with all MemberAdaptors, not just
OldStyleMemberships.py. Also, members.has_key(sender) only tests regular
members, not digest members.

This corrected patch is provided for those still using Mailman 2.1.9 or
older that want this functionality. The patch is not required for
Mailman 2.1.10 and newer.

** Patch added: "List Inclusion patch with correction."
   http://launchpadlibrarian.net/46775788/listinclusion.patch

-- 
allow specifying another list in accept_these_nonmembers
https://bugs.launchpad.net/bugs/558204
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.


More information about the Mailman-coders mailing list