aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2018-06-04 21:44:32 -0700
committerMark Sapiro <mark@msapiro.net>2018-06-04 21:44:32 -0700
commitca506e913faa49331db68f541774fdb773653988 (patch)
tree004c9f8ba6a59659e2ea930f5f74403a269627f8 /Mailman/MailList.py
parent2b3aacbdb800115909a59d1a89bc1e67a75a14e3 (diff)
downloadmailman2-ca506e913faa49331db68f541774fdb773653988.tar.gz
mailman2-ca506e913faa49331db68f541774fdb773653988.tar.xz
mailman2-ca506e913faa49331db68f541774fdb773653988.zip
Not at all my day.
Diffstat (limited to 'Mailman/MailList.py')
-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