b41b2fa4dd
With Python 2, argparse subparsers behaviour in Python 2 was to print the usage information if the subparsers argument wasn't specified. However, with Python 3.2.3 and later a subparsers argument is not required by default, leading to errors when no arguments are specified: AttributeError: 'Namespace' object has no attribute 'func' Restore the previous desired behaviour of showing the help text for devtool, recipetool and the devtool-stress script by setting subparsers.required to True. (From OE-Core rev: d36fdea1a7f32d97187e0e9e6d701ae8fa304e8f) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
||
---|---|---|
.. | ||
bb-perf | ||
python | ||
bbvars.py | ||
build-perf-test.sh | ||
ddimage | ||
devtool-stress.py | ||
dialog-power-control | ||
documentation-audit.sh | ||
graph-tool | ||
list-packageconfig-flags.py | ||
mkefidisk.sh | ||
serdevtry | ||
test_build_time.sh | ||
test_build_time_worker.sh | ||
verify-homepage.py |