Dennis Carr wrote:
>
>I can do that, and can use set_mod.py, but how do I get withlist to
>recognize it as a module?  Using the prescribed command line in the
>URL, it does this:
>
>[EMAIL PROTECTED]:~$ /usr/sbin/withlist -r /usr/sbin/set_mod.py ffml -s
>[EMAIL PROTECTED] Importing /usr/sbin/set_mod...
>Traceback (most recent call last):
>  File "/usr/sbin/withlist", line 297, in ?
>    main()
>  File "/usr/sbin/withlist", line 266, in main
>    mod = __import__(module)
>ImportError: No module named /usr/sbin/set_mod


The correct command line with both withlist and set_mod.py stored in
/usr/sbin/ is

/usr/sbin/withlist -r set_mod ffml -s [EMAIL PROTECTED]

I.e. set_mod.py is in the same directory as withlist and no path and no
.py extension are given in the command.

-- 
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&amp;file=faq01.027.htp

Reply via email to