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-06-02 08:24:03 +0100 |
commit | 9a3f2b3912f7f1e671dc48f856a1ee20db23be25 (patch) | |
tree | 24b87fbf5a44ada64d7af48350b98abbd4d402f2 /bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py | |
parent | 0224f7599995166e15d1ea2d1b0e6155f5026a18 (diff) | |
download | poky-9a3f2b3912f7f1e671dc48f856a1ee20db23be25.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: 3f1e68c783308dcb51242d0fdeef758e581ccc8c)
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/management/commands/loadconf.py')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py b/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py index 5022b59400..6d25df9e54 100644 --- a/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py +++ b/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py | |||
@@ -4,7 +4,7 @@ from orm.models import BitbakeVersion, Release, ReleaseDefaultLayer, ReleaseLaye | |||
4 | from django.db import IntegrityError | 4 | from django.db import IntegrityError |
5 | import os | 5 | import os |
6 | 6 | ||
7 | from checksettings import DN | 7 | from .checksettings import DN |
8 | 8 | ||
9 | import logging | 9 | import logging |
10 | logger = logging.getLogger("toaster") | 10 | logger = logging.getLogger("toaster") |