aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xMailman/MailList.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index 991ffd7f..fdc3802a 100755
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -914,7 +914,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin,
whence = ' from %s' % remote
syslog('vette', '%s banned subscription: %s%s (Spamhaus IP)',
realname, email, whence)
- raise Errors.MembershipIsBanned, pattern
+ raise Errors.MembershipIsBanned, 'Spamhaus IP'
# Sanity check the digest flag
if digest and not self.digestable:
raise Errors.MMCantDigestError