~xav0989/ubuntu/vivid/mailman/ubuntu-logo

« back to all changes in this revision

Viewing changes to bin/add_members

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2008-04-24 19:30:49 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080424193049-jy5fa9tus40tjbmn
Tags: 1:2.1.10-2
Apply upstream patch to fix regression in cmd_subscribe
so that email subscribe to the -subscribe or -join address or the
-request address with a bare 'subscribe' command results in the message
being shunted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
            mlist.ApprovedAddMember(userdesc, ack, 0)
136
136
        except Errors.MMAlreadyAMember:
137
137
            print >> tee, _('Already a member: %(member)s')
 
138
        except Errors.MembershipIsBanned, pattern:
 
139
            print >> tee, ('%s:' %
 
140
                           member), _('Banned address (matched %(pattern)s)')
138
141
        except Errors.MMBadEmailError:
139
142
            if userdesc.address == '':
140
143
                print >> tee, _('Bad/Invalid email address: blank line')