Mark Sapiro wrote: > >Try the following shell script > >#! /bin/sh >for list in `/path/to/bin/list_lists --bare` >do echo ---------------------------------- >echo list: $list >/path/to/bin/dumpdb /path/to/lists/$list/config.pck | grep advertised >echo ----------------------------------- >done
BTW, this will only identify the problem list. If the only thing wrong with it is the missing advertised attribute, you can fix it with withlist. bin/withlist -l listname ... ... >>> m.advertised = 1 >>> m.Save() >>> ... The last input is control-D (eof). If the list should not be advertised, then set m.advertised = 0. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org 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