------------------------------------------------------------ revno: 1764 committer: Mark Sapiro <m...@msapiro.net> branch nick: 2.1 timestamp: Mon 2018-06-04 21:25:36 -0700 message: Ooops. Forgot mm_cfg. modified: Mailman/MailList.py
-- lp:mailman/2.1 https://code.launchpad.net/~mailman-coders/mailman/2.1 Your team Mailman Checkins is subscribed to branch lp:mailman/2.1. To unsubscribe from this branch go to https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/MailList.py' --- Mailman/MailList.py 2018-06-05 01:02:12 +0000 +++ Mailman/MailList.py 2018-06-05 04:25:36 +0000 @@ -909,7 +909,7 @@ realname, email, whence, pattern) raise Errors.MembershipIsBanned, pattern # See if this is from a spamhaus listed IP. - if remote and BLOCK_SPAMHAUS_LISTED_IP_SUBSCRIBE: + if remote and mm_cfg.BLOCK_SPAMHAUS_LISTED_IP_SUBSCRIBE: if Utils.banned_ip(remote): whence = ' from %s' % remote syslog('vette', '%s banned subscription: %s%s (Spamhaus IP)',
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org