<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 21 April 2017 at 13:11, Andreas J. Reichel <span dir="ltr">&lt;<a href="mailto:andreas.reichel@tngtech.com" target="_blank">andreas.reichel@tngtech.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div id="gmail-:4np" class="gmail-a3s gmail-aXjCH gmail-m15b9071e308bf2ce">* optparse is deprecated and will not be developed further<br>
    (see: <a href="https://docs.python.org/2/library/optparse.html" rel="noreferrer" target="_blank">https://docs.python.org/2/<wbr>library/optparse.html</a>)<br>
* argparse supports <span class="gmail-il">subcommands</span>, which simplifies definition of<br>
    arguments and options<br>
* reimplement help mechanism through <span class="gmail-il">sub</span>-<span class="gmail-il">subcommands</span></div></blockquote></div><br>This results in a behaviour change and breaks the selftest:</div><br>FAIL [0.535s]: test_unsupported_subcommand (oeqa.selftest.wic.Wic)<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br>  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py&quot;, line 109, in wrapped_f<br>    return func(*args, **kwargs)<br>  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py&quot;, line 163, in test_unsupported_subcommand<br>    ignore_status=True).status)<br>AssertionError: 1 != 2<br><br>Ross</div>