summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-17 11:54:09 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:52 +0000
commit717f13d63cb904ce48533d3f1b2b00d278741f6f (patch)
tree6775c6cf04682c687a5231f4796a63e13093db2f /bitbake/lib/bb/parse
parent760b82e7320ce5dbf295df6811b04bd0594fd516 (diff)
downloadpoky-717f13d63cb904ce48533d3f1b2b00d278741f6f.tar.gz
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__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py
index f9517f03f2..bef3d31ea7 100644
--- a/bitbake/lib/bb/parse/__init__.py
+++ b/bitbake/lib/bb/parse/__init__.py
@@ -91,7 +91,7 @@ def init_parser(d, dumpsigs):
91def resolve_file(fn, d): 91def resolve_file(fn, d):
92 if not os.path.isabs(fn): 92 if not os.path.isabs(fn):
93 bbpath = bb.data.getVar("BBPATH", d, True) 93 bbpath = bb.data.getVar("BBPATH", d, True)
94 newfn = bb.which(bbpath, fn) 94 newfn = bb.utils.which(bbpath, fn)
95 if not newfn: 95 if not newfn:
96 raise IOError("file %s not found in %s" % (fn, bbpath)) 96 raise IOError("file %s not found in %s" % (fn, bbpath))
97 fn = newfn 97 fn = newfn