------------------------------------------------------------
revno: 1590
fixes bug: https://launchpad.net/bugs/1525733
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Sun 2015-12-13 16:34:39 -0800
message:
  Vette log entries for banned subscriptions now include the source of
  the request if available.
modified:
  Mailman/MailList.py
  NEWS


--
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	2015-10-18 02:30:06 +0000
+++ Mailman/MailList.py	2015-12-14 00:34:39 +0000
@@ -883,8 +883,12 @@
         # Is the subscribing address banned from this list?
         pattern = self.GetBannedPattern(email)
         if pattern:
-            syslog('vette', '%s banned subscription: %s (matched: %s)',
-                   realname, email, pattern)
+            if remote:
+                whence = ' from %s' % remote
+            else:
+                whence = ''
+            syslog('vette', '%s banned subscription: %s%s (matched: %s)',
+                   realname, email, whence, pattern)
             raise Errors.MembershipIsBanned, pattern
         # Sanity check the digest flag
         if digest and not self.digestable:

=== modified file 'NEWS'
--- NEWS	2015-12-06 20:00:29 +0000
+++ NEWS	2015-12-14 00:34:39 +0000
@@ -21,6 +21,8 @@
       de Mello.
 
   Bug fixes and other patches
+    - Vette log entries for banned subscriptions now include the source of
+      the request if available.  (LP: #1525733)
 
     - Submitting the user options form for a user who was asynchronously
       unsubscribed would throw an uncaught NotAMemberError.  (LP: #1523273)

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to