Files
poky/bitbake/lib/bb
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
..
2016-06-02 08:24:02 +01:00
2016-06-02 08:24:02 +01:00
2016-06-02 08:24:02 +01:00
2016-06-02 08:24:02 +01:00
2016-06-02 08:24:02 +01:00
2016-06-02 08:24:02 +01:00