------------------------------------------------------------
revno: 1246
committer: Mark Sapiro <msap...@value.net>
branch nick: 2.2
timestamp: Thu 2013-03-28 15:45:56 -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.2
https://code.launchpad.net/~mailman-coders/mailman/2.2

Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription
=== modified file 'NEWS'
--- NEWS	2013-03-28 22:10:44 +0000
+++ NEWS	2013-03-28 22:45:56 +0000
@@ -102,6 +102,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:46:59 +0000
+++ bin/add_members	2013-03-28 22:45:56 +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
Mailman-checkins@python.org
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to