[OE-core] [PATCH 01/12] oe.utils: add bb, bb.data imports
Chris Larson
kergoth at gmail.com
Thu Mar 17 16:18:59 UTC 2011
From: Chris Larson <chris_larson at mentor.com>
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 at mentor.com>
---
meta/lib/oe/utils.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index 3469700..69f9384 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" )
--
1.7.2.3
More information about the Openembedded-core
mailing list