diff options
author | Mark Sapiro <mark@msapiro.net> | 2018-06-11 19:29:33 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2018-06-11 19:29:33 -0700 |
commit | d2da11a73ee15a4e467fdacbb0f5c36447b144f6 (patch) | |
tree | 425420bec1af90b4d2d764c398cc35e742d6f93f /Mailman | |
parent | d363c183a208a1ef34847656533cb818d7a7cf50 (diff) | |
parent | 4c54a401f9070bcb385a44bbaec8c08facb10ee4 (diff) | |
download | mailman2-d2da11a73ee15a4e467fdacbb0f5c36447b144f6.tar.gz mailman2-d2da11a73ee15a4e467fdacbb0f5c36447b144f6.tar.xz mailman2-d2da11a73ee15a4e467fdacbb0f5c36447b144f6.zip |
Added %(whence)s replacement for admin (un)subscribe notices.
Diffstat (limited to 'Mailman')
-rwxr-xr-x | Mailman/MailList.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py index fdc3802a..7cd86bf7 100755 --- a/Mailman/MailList.py +++ b/Mailman/MailList.py @@ -1069,6 +1069,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin, "adminsubscribeack.txt", {"listname" : realname, "member" : formataddr((name, email)), + "whence" : "" if whence is None else "(" + whence + ")" }, mlist=self) msg = Message.OwnerNotification(self, subject, text) msg.send(self) @@ -1105,6 +1106,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin, 'adminunsubscribeack.txt', {'member' : name, 'listname': self.real_name, + "whence" : "" if whence is None else "(" + whence + ")" }, mlist=self) msg = Message.OwnerNotification(self, subject, text) msg.send(self) |