Message239246
parser.add_subparsers(dest='arguments', action='append')
will raise the following exception:
File "/usr/lib/python2.7/argparse.py", line 1675, in add_subparsers
action = parsers_class(option_strings=[], **kwargs)
TypeError: __init__() got an unexpected keyword argument 'prog'
Instead of 'argparse._SubParsersAction' the class 'argparse._AppendAction' is used.
Could maybe fixed by passing the 'action' parameter to the _SubParsersAction class which then instanciates a _AppendAction and somehow uses this internally for further things. |
|
Date |
User |
Action |
Args |
2015-03-25 10:37:25 | spaceone | set | recipients:
+ spaceone |
2015-03-25 10:37:25 | spaceone | set | messageid: <1427279845.4.0.291157397861.issue23777@psf.upfronthosting.co.za> |
2015-03-25 10:37:25 | spaceone | link | issue23777 messages |
2015-03-25 10:37:25 | spaceone | create | |
|