How about using single quotes (in Bbash)?:
 %./remove_members -n -N some-list '[EMAIL PROTECTED] * ben'

I think that should pass the whole thing as one element of remove_members'
argv. This would only work if the missing space was what "caused the
problem".

What's the policy on reporting errors back to the user? Should exceptions
like this cause termination or should they usually be caught by the
caller etc.. ?

Cheers,
        -Matt Helsley

On Wed, 24 Sep 2003, Andrew D. Clark wrote:

> I can't remove a member address like this:
> 
> %./remove_members -n -N some-list "[EMAIL PROTECTED] * ben"
> Traceback (most recent call last):
>   File "./remove_members", line 186, in ?
>     main()
>   File "./remove_members", line 176, in main
>     admin_notif, userack)
>   File "/home/services/mailman/Mailman/MailList.py", line 941, in 
> ApprovedDeleteMember
>     self.removeMember(emailaddr)
>   File "/home/services/mailman/Mailman/OldStyleMemberships.py", line 
> 220, in removeMember
>     self.__assertIsMember(member)
>   File "/home/services/mailman/Mailman/OldStyleMemberships.py", line 
> 113, in __assertIsMember
>     raise Errors.NotAMemberError, member
> Mailman.Errors.NotAMemberError: [EMAIL PROTECTED]


_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers

Reply via email to