summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/engine.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-06-02 13:12:56 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-03 13:13:31 +0100
commit059dd9f733d295f9e7c6f3cb737f66f9cf3dd984 (patch)
treec56253719031157913b6b4068225ce3b82f89f4e /scripts/lib/bsp/engine.py
parentd1421dfbd2136d7c87824b383eaba9fb8ec3a926 (diff)
downloadpoky-059dd9f733d295f9e7c6f3cb737f66f9cf3dd984.tar.gz
scripts: python3: use explicit relative imports
Implicit relative imports within packages are not supported in python 3. They have to be converted to explicit imports. Used 'from .module import' syntax for relative imports. (From meta-yocto rev: 8eb2befc544e29fd87ac1fc75886cc6d7f40ad90) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/bsp/engine.py')
-rw-r--r--scripts/lib/bsp/engine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py
index 03bd66ecef..5ff6c9836d 100644
--- a/scripts/lib/bsp/engine.py
+++ b/scripts/lib/bsp/engine.py
@@ -34,7 +34,7 @@
34import os 34import os
35import sys 35import sys
36from abc import ABCMeta, abstractmethod 36from abc import ABCMeta, abstractmethod
37from tags import * 37from .tags import *
38import shlex 38import shlex
39import json 39import json
40import subprocess 40import subprocess