This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jeremiah.Jordan
Recipients Jeremiah.Jordan, Yaniv.Aknin, bethard, eric.araujo, eric.smith
Date 2010-08-09.21:28:40
SpamBayes Score 0.00211386
Marked as misclassified No
Message-id <>
I think this should be updated so that nargs=0 is allowed, so that you can only do --foo/--no-foo and don't clutter up the help/interface with --foo [FOO] --no-foo=[FOO]

You can do this by adding nargs to the ConfigureAction.__init__ and passing that through to super, and then updating __call__ to check 'if value is None or value == []:' instead of the None.
Date User Action Args
2010-08-09 21:28:42Jeremiah.Jordansetrecipients: + Jeremiah.Jordan, bethard, eric.smith, eric.araujo, Yaniv.Aknin
2010-08-09 21:28:42Jeremiah.Jordansetmessageid: <>
2010-08-09 21:28:40Jeremiah.Jordanlinkissue8538 messages
2010-08-09 21:28:40Jeremiah.Jordancreate