generic-poky/bitbake/lib
Ed Bartosh 0224f75999 bitbake: toaster: fix imports to work for python 3
Some APIs have been moved to other modules in python 3:
 getstatusoutput: moved from commands to subproces
 urlopen: moved from urllib2 to urllib.request
 urlparse: moved from urlparse to urllib.parse

Made the imports work for both python versions by
catching ImportError and importing APIs from different
modules.

[YOCTO #9584]

(Bitbake rev: 1abaa1c6a950b327e6468192dd910549643768bb)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-02 08:24:03 +01:00
..
bb bitbake: toaster: fix imports to work for python 3 2016-06-02 08:24:03 +01:00
bblayers bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
bs4 bitbake: bitbake/bs4: Upgrade 4.3.2 -> 4.4.1 (python 3 version) 2016-06-02 08:24:02 +01:00
ply bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
prserv bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
toaster bitbake: toaster: fix imports to work for python 3 2016-06-02 08:24:03 +01:00
codegen.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
progressbar.py bitbake: progressbar: use '/usr/bin/env' in shebangs with python 2014-11-12 15:25:17 +00:00
pyinotify.py bitbake: bitbake/pyinotify.py: Upgrade to py3 version 2016-06-02 08:24:02 +01:00