aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xMailman/MailList.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index fdc3802a..7b096bb1 100755
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -1070,6 +1070,8 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin,
{"listname" : realname,
"member" : formataddr((name, email)),
}, mlist=self)
+ if whence:
+ text = "%s\nReason: %s" % (text, whence)
msg = Message.OwnerNotification(self, subject, text)
msg.send(self)
@@ -1106,6 +1108,8 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin,
{'member' : name,
'listname': self.real_name,
}, mlist=self)
+ if whence:
+ text = "%s\nReason: %s" % (text, whence)
msg = Message.OwnerNotification(self, subject, text)
msg.send(self)
if whence: