aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-17 11:54:09 -0700
committerChris Larson <chris_larson@mentor.com>2010-12-17 12:13:54 -0700
commit2bc893dc407bf608cac7e12673161b75b712da83 (patch)
tree8773ad99bfd1214a02d9e80ceeefab22657c0606
parent9723a1c474b72b096c5a3136bf446ed69f3a749e (diff)
downloadbitbake-2bc893dc407bf608cac7e12673161b75b712da83.tar.gz
parse: use bb.utils.which
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r--lib/bb/parse/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/parse/__init__.py b/lib/bb/parse/__init__.py
index e2e7fe639..3015d0c8d 100644
--- a/lib/bb/parse/__init__.py
+++ b/lib/bb/parse/__init__.py
@@ -86,7 +86,7 @@ def init(fn, data):
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