Jeff Kunzelman (DHL) wrote:
>
>However when I run the command:
>
>withlist -q -r checkModerated.py jww_test
>
>I get the following error:
>Traceback (most recent call last):
>  File "/home/mailman/bin/withlist", line 297, in ?
>    main()
>  File "/home/mailman/bin/withlist", line 269, in main
>    func = getattr(mod, callable)
>AttributeError: 'module' object has no attribute 'py'


The help for withlist says

    --run [module.]callable
    -r [module.]callable

I realize this is cryptic, but in your case (module file name =
checkModerated.py; function name/callable = list_moderated) it means
the withlist command needs to be

withlist -q -r checkModerated.list_moderated jww_test

Note that the 'module name' does not include the .py suffix of the file
name. Alternatively, if you named the file list_moderated.py, you
could run it with

withlist -q -r list_moderated jww_test

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

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

Reply via email to