On 2015-07-24 09:08, Burton, Ross wrote:

On 24 July 2015 at 00:00, Gary Thomas <g...@mlbassoc.com 
<mailto:g...@mlbassoc.com>> wrote:

    It seems that my host python3 is broken and doesn't have a working 
'argparse'
       $ python3
       Python 3.1.2 (r312:79147, Aug 23 2010, 05:17:13)


argparse is part of 3.2 onwards (and 2.7 onwards...).  If the script is going 
to use functions that only exist in specific versions of Python then it should 
really check.
Personally I'd say patching the python check to only look for "python" or 
"python2" would be a reasonable workaround.

I tried that and it worked fine on my [semi-broken-python3] host.

Patch sent.

Thanks

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to