diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-05-10 15:17:26 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-16 23:32:41 +0100 |
commit | cd6813ec0accb449ce309ce8c16d0131f5b0f1ff (patch) | |
tree | 9f67eed8db04b1096381e70e2ae2dcfb52cd43cc /bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |
parent | 973b6b961597e421d06607908300441de3ff4e0c (diff) | |
download | poky-cd6813ec0accb449ce309ce8c16d0131f5b0f1ff.tar.gz |
bitbake: toaster: fix local imports
Replaced local imports with absolute imports.
Used .module for local imports.
This should make the code to work on python 2 and python 3.
[YOCTO #9584]
(Bitbake rev: e38319b55d1acc6d784cc11a3bff3f0af20e974f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/localhostbecontroller.py')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 7b2f126e98..b4e41968f1 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
@@ -32,7 +32,7 @@ import subprocess | |||
32 | 32 | ||
33 | from toastermain import settings | 33 | from toastermain import settings |
34 | 34 | ||
35 | from bbcontroller import BuildEnvironmentController, ShellCmdException, BuildSetupException, BitbakeController | 35 | from bldcontrol.bbcontroller import BuildEnvironmentController, ShellCmdException, BuildSetupException, BitbakeController |
36 | 36 | ||
37 | import logging | 37 | import logging |
38 | logger = logging.getLogger("toaster") | 38 | logger = logging.getLogger("toaster") |