From patchwork Thu Mar 17 16:18:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [01/12] oe.utils: add bb, bb.data imports Date: Thu, 17 Mar 2011 16:18:59 -0000 From: Christopher Larson X-Patchwork-Id: 1533 Message-Id: <14c0b5c9cbb73b48580de9b033b1ff942226f083.1300378596.git.chris_larson@mentor.com> To: openembedded-core@lists.openembedded.org Cc: Chris Larson From: Chris Larson 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 --- 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" )