summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-29 17:13:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-23 15:43:53 +0000
commitfb02ca3a162552e2947d953af662cd0771f4c6f4 (patch)
tree376788a3a1bc0c05456773190dc7fc60b8749043 /meta/lib/oe
parentdd3a1d3b4179dd64dd12f20e4568fd7f1c3fc977 (diff)
downloadpoky-fb02ca3a162552e2947d953af662cd0771f4c6f4.tar.gz
oe.utils: add bb, bb.data imports
While the metadata can and should rely on bb always being available, this needn't necessarily be the case for imported python modules. (From OE-Core rev: a521835701c07f5786acd663fb4fb394e93eba91) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index 3469700726..69f9384dc7 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -1,3 +1,5 @@
1import bb, bb.data
2
1def read_file(filename): 3def read_file(filename):
2 try: 4 try:
3 f = file( filename, "r" ) 5 f = file( filename, "r" )