Author johnohagan
Recipients johnohagan
Date 2011-04-20.07:36:49
SpamBayes Score 0.000225237
Marked as misclassified No
Message-id <1303285010.85.0.710971435429.issue11884@psf.upfronthosting.co.za>
In-reply-to
Content
Argparse in python3.2 includes two calls to ngettext to handle error messages, but ngettext is not imported. This causes NameError to be raised instead of ArgumentError.

Changing line 93 from:

    from gettext import gettext

to:

    from gettext import gettext, ngettext 

seems to fix the problem.
History
Date User Action Args
2011-04-20 07:36:50johnohagansetrecipients: + johnohagan
2011-04-20 07:36:50johnohagansetmessageid: <1303285010.85.0.710971435429.issue11884@psf.upfronthosting.co.za>
2011-04-20 07:36:50johnohaganlinkissue11884 messages
2011-04-20 07:36:49johnohagancreate