-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
alex wetmore wrote:
> I wrote a routine that is compatible with "withlist" for doing
> this. Save it into rmmember.py.
>
> def rmmember(mlist, addr):
> try:
> print 'key: ', mlist.getMemberKey(addr)
> mlist.removeMember(mlist.getMemberKey(addr))
> mlist.Save()
> except NotAMember:
> print 'No address matched:', addr
>
> Run "bin/withlist" to see usage on how withlist works. This
> command should remove your member:
>
> % bin/withlist -l -r rmmember mylist "pgyallay"@[EMAIL PROTECTED]
Wouldn't you have to backmask the quotes so they get past the shell?
- --
Todd OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
============================================================================
That men do not learn very much from the lessons of history is the most
important of all the lessons of history.
-- Aldous Huxley Collected Essays, 1959
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.
iD4DBQE+g4Vguv+09NZUB1oRAvhHAJ9GMWAeEBS8Mn9OgRb2ztfYK04T4gCYiltx
s7M51ngmoEqJ7NKvuIAwKA==
=4PLu
-----END PGP SIGNATURE-----
------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org