diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-12-29 17:13:29 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-21 17:50:31 +0000 |
commit | a521835701c07f5786acd663fb4fb394e93eba91 (patch) | |
tree | 8768ff1db0f8450a3eb514f1909e8fb852f8f711 /meta/lib | |
parent | 7f9d6efcaf019eb046c8aa00735f823e3dbc8712 (diff) | |
download | openembedded-core-a521835701c07f5786acd663fb4fb394e93eba91.tar.gz openembedded-core-a521835701c07f5786acd663fb4fb394e93eba91.tar.bz2 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/lib')
-rw-r--r-- | 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 3469700726..69f9384dc7 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" ) |