thanks John, I have tested your code, but I face with a problem of python.
I didn't know python, I search but I didn't find, here is what happen:
at line 79 (from email.Utils import commaaddr)
this generate an error:
# list_members.DeCarlo test
Traceback (most recent call last):
File "list_members.DeCarlo", line 79, in ?
from email.Utils import commaaddr
ImportError: cannot import name commaaddr
I check the documentation of python, but I connot find the function
You use it 2 times:
232: s = commaaddr((name, addr )).encode(enc, 'replace')
264: s = commaaddr((name, addr )).encode(enc, 'replace')
What does this command do, and it is possible to substitute it with another
known one ? or is it possible to include it as a python module (there is no
trace of such command on the WEB)
I search in the whole distrib. of Mailman 2.0.11 (old version I used) and
Mailman 2.1.2 (the current one), I didn't find any function commaaddr, what
is your mailman version ?
Note: I use python 2.2.1 under Solaris
De : John DeCarlo [mailto:jdecarlo at mitre.org]
Envoy? : lundi 21 juillet 2003 19:22
? : Mailman-Users
Cc : CLOCHARD Nicolas
Objet : Re: [Mailman-Users] How to show name in the subscriber list
mailman 2.1.2 ?
My Python programming skills are crude and self taught. However, I
modified list_members to include more information by default, as well as
adding a "-a" option to list the full name of the user.
I have attached it here. I keep it a separate name so that it doesn't
get overwritten when I upgrade.
Maybe someone with more time and skill than I can use some of this to
Feel free to use it as you wish.
CLOCHARD Nicolas wrote:
I search to kown if the display of user name in the subscriber list is
possible under mailman 2.1.2
I parse all the option but I di not find it, nothing is on the FAQ and
nothing on the post of the mailing list.
If this is not possible, may be it can be a feature request for the futur
version of mailman.
John DeCarlo, My Views Are My Own
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...