Brad Knowles writes:

 > So far as I know, the config_list tool only captures those items 
 > which are stored in the Python pickle which contains what Mailman 
 > thinks of as the list configuration items.

Kinda miserly of it, isn't it?<wink>

 > >  1. Is there some way to get config_list to do this?
 > 
 > Not that I know of, at least not without making source-code level 
 > changes to the tool.

This really ought to be fixed.  I don't know if the templates are even
stored in there (I thought they were on the file system somewhere) but
there are a number of other things that would be nice to have a better
interface than "bin/with_list" for, like recording/setting the list's
pipeline.  But config_list knows only about a subset of configuration
variables.

Maybe I can work on it later this week.

 > >  2. If not, is there some other utility that does it?
 > 
 > Not that I know of.

"bin/with_list" will allow you to get and set those attributes if you
know what the attribute is in the pickle.

Unfortunately my python is rusty or I'd give you a wrapper, but it
shouldn't be too hard to get bin/with_list to spit out the value you
want on stdout and pipe it to another instance of bin/with_list to
write to the target list.

Steve

------------------------------------------------------
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to