summaryrefslogtreecommitdiff
path: root/meta
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-21 17:50:31 +0000
commita521835701c07f5786acd663fb4fb394e93eba91 (patch)
tree8768ff1db0f8450a3eb514f1909e8fb852f8f711 /meta
parent7f9d6efcaf019eb046c8aa00735f823e3dbc8712 (diff)
downloadopenembedded-core-a521835701c07f5786acd663fb4fb394e93eba91.tar.gz
openembedded-core-a521835701c07f5786acd663fb4fb394e93eba91.tar.bz2
openembedded-core-a521835701c07f5786acd663fb4fb394e93eba91.tar.xz
openembedded-core-a521835701c07f5786acd663fb4fb394e93eba91.zip
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. Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'meta')
-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 346970072..69f9384dc 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -1,3 +1,5 @@
+import bb, bb.data
+
def read_file(filename):
try:
f = file( filename, "r" )