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>
This commit is contained in:
parent
dd3a1d3b41
commit
fb02ca3a16
|
@ -1,3 +1,5 @@
|
|||
import bb, bb.data
|
||||
|
||||
def read_file(filename):
|
||||
try:
|
||||
f = file( filename, "r" )
|
||||
|
|
Loading…
Reference in New Issue