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-23 15:43:53 +0000 |
commit | fb02ca3a162552e2947d953af662cd0771f4c6f4 (patch) | |
tree | 376788a3a1bc0c05456773190dc7fc60b8749043 /meta/lib/oe | |
parent | dd3a1d3b4179dd64dd12f20e4568fd7f1c3fc977 (diff) | |
download | poky-fb02ca3a162552e2947d953af662cd0771f4c6f4.tar.gz |
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.
(From OE-Core rev: a521835701c07f5786acd663fb4fb394e93eba91)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-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 @@ | |||
1 | import bb, bb.data | ||
2 | |||
1 | def read_file(filename): | 3 | def read_file(filename): |
2 | try: | 4 | try: |
3 | f = file( filename, "r" ) | 5 | f = file( filename, "r" ) |