Steven Jones wrote:
>
>[root@vuwunicmailmnt1 conf.d]# /usr/lib/mailman/bin/mmsitepass --help
>Traceback (most recent call last):
>  File "/usr/lib/mailman/bin/mmsitepass", line 105, in <module>
>    main()
>  File "/usr/lib/mailman/bin/mmsitepass", line 77, in main
>    usage(0)
>  File "/usr/lib/mailman/bin/mmsitepass", line 57, in usage
>    print >> fd, _(__doc__)
>NameError: global name '_' is not defined


The standard distributed GNU Mailman mmsitepass contains the following
lines immediately after the copyright notice and the documentation:

import sys
import getpass
import getopt

import paths
from Mailman import Utils
from Mailman.i18n import _

Yours is apparently missing the last of these and who knows what else.

-- 
Mark Sapiro <m...@msapiro.net>        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://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to