------------------------------------------------------------
revno: 1382
fixes bug: https://launchpad.net/bugs/1161642
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Thu 2013-03-28 15:43:27 -0700
message:
The subscribe log entry for a bin/add_members subscribe now identifies
bin/add_members as the source. (LP: 1161642)
modified:
NEWS
bin/add_members
--
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 'NEWS'
--- NEWS 2013-03-28 22:12:45 +0000
+++ NEWS 2013-03-28 22:43:27 +0000
@@ -58,6 +58,9 @@
Bug Fixes and other patches
+ - The subscribe log entry for a bin/add_members subscribe now identifies
+ bin/add_members as the source. (LP: 1161642)
+
- Fixed a bug where the Subject: of the user notification of a
bin/remove_members unsubscribe was not in the user's language.
(LP: 1161445)
=== modified file 'bin/add_members'
--- bin/add_members 2012-10-29 19:45:54 +0000
+++ bin/add_members 2013-03-28 22:43:27 +0000
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2013 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -137,7 +137,11 @@
userdesc.digest = digest
try:
- mlist.ApprovedAddMember(userdesc, ack, 0)
+ mlist.ApprovedAddMember(userdesc,
+ ack=ack,
+ admin_notif=False,
+ whence='bin/add_members',
+ )
except Errors.MMAlreadyAMember:
print >> tee, _('Already a member: %(member)s')
except Errors.MembershipIsBanned, pattern:
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org