[Mailman-Users] Re: Quick question about your newlist patch
dereks at kd-dev.com
Mon Jun 19 20:24:56 CEST 2000
-> > Just to confirm: your patch still allows for interactive input to
-> > the newlist script, right?
-> Well, I gave it a try. I could not find where to fix raw_input() and
-> getpass() is in the Mailman/pythonlib directory. I did not want to
-> break anything else by "fixing" getpass, so I did a kludge in newlist.
-> I hate programs that write error messages and usage messages into
-> my files.
While it would be preferable to have informational messages to be
written to stderr, the entire architecture of the program seems to be
built around sending them to stdout (with the "print" statements being in
several different functions).
Therefor, I suggest we go with my version of the patch, which will
print only the data to stderr. This allows us to pipe the aliases
directly onto >> /etc/aliases, or wherever we want it, by redirecting
stderr. Also, it only requires changing one line in the code, and does
not otherwise affect the program (interactive mode, options, etc. all
remain the same).
My patch will follow to this list as soon as I have time to put it
More information about the Mailman-Users