diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-12-17 11:54:09 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:52 +0000 |
commit | 717f13d63cb904ce48533d3f1b2b00d278741f6f (patch) | |
tree | 6775c6cf04682c687a5231f4796a63e13093db2f /bitbake/lib/bb/parse | |
parent | 760b82e7320ce5dbf295df6811b04bd0594fd516 (diff) | |
download | openembedded-core-717f13d63cb904ce48533d3f1b2b00d278741f6f.tar.gz openembedded-core-717f13d63cb904ce48533d3f1b2b00d278741f6f.tar.bz2 openembedded-core-717f13d63cb904ce48533d3f1b2b00d278741f6f.tar.xz openembedded-core-717f13d63cb904ce48533d3f1b2b00d278741f6f.zip |
parse: use bb.utils.which
(Bitbake rev: 2bc893dc407bf608cac7e12673161b75b712da83)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r-- | bitbake/lib/bb/parse/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py index f9517f03f..bef3d31ea 100644 --- a/bitbake/lib/bb/parse/__init__.py +++ b/bitbake/lib/bb/parse/__init__.py @@ -91,7 +91,7 @@ def init_parser(d, dumpsigs): def resolve_file(fn, d): if not os.path.isabs(fn): bbpath = bb.data.getVar("BBPATH", d, True) - newfn = bb.which(bbpath, fn) + newfn = bb.utils.which(bbpath, fn) if not newfn: raise IOError("file %s not found in %s" % (fn, bbpath)) fn = newfn |