]> code.ossystems Code Review - openembedded-core.git/commitdiff
oe.utils: add bb, bb.data imports
authorChris Larson <chris_larson@mentor.com>
Thu, 30 Dec 2010 00:13:29 +0000 (17:13 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Mar 2011 17:50:31 +0000 (17:50 +0000)
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>
meta/lib/oe/utils.py

index 3469700726bb63c67b5da59af32369558d43fe51..69f9384dc73113c10ee82344f56af2e9ed860c65 100644 (file)
@@ -1,3 +1,5 @@
+import bb, bb.data
+
 def read_file(filename):
     try:
         f = file( filename, "r" )