Michael Menge wrote:
>
>I want to change the language of all members in a mailinglist. I did't
>find a direct way so I thought I dump the config.pck file with dumpdb
>edit the language with search and import the changed output back.
>
>But i did't find a way to import the output of dumpdb back to the
>config.pck.
You can do it with either bin/config_list or bin/withlist. Using
config_list is probably easier.
The output of bin/dumpdb contains
'language': { '[EMAIL PROTECTED]': 'l1',
'[EMAIL PROTECTED]': 'l2',
...
'[EMAIL PROTECTED]': 'ln'},
assuming you have edited this to
'language': { '[EMAIL PROTECTED]': 'll',
'[EMAIL PROTECTED]': 'll',
...
'[EMAIL PROTECTED]': 'll'},
Edit it further to
mlist.language = { '[EMAIL PROTECTED]': 'll',
'[EMAIL PROTECTED]': 'll',
...
'[EMAIL PROTECTED]': 'll'},
and use it as the input to
bin/config_list -i input listname
See "bin/config_list --help".
--
Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
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&file=faq01.027.htp