[01/12] oe.utils: add bb, bb.data imports

Submitted by Christopher Larson on March 17, 2011, 4:18 p.m.

Details

Message ID 14c0b5c9cbb73b48580de9b033b1ff942226f083.1300378596.git.chris_larson@mentor.com
State New, archived
Headers show

Commit Message

Christopher Larson March 17, 2011, 4:18 p.m.
From: Chris Larson <chris_larson@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@mentor.com>
---
 meta/lib/oe/utils.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

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" )