From: Chris Larson Date: Fri, 17 Dec 2010 18:54:09 +0000 (-0700) Subject: parse: use bb.utils.which X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2bc893dc407bf608cac7e12673161b75b712da83;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git parse: use bb.utils.which Signed-off-by: Chris Larson --- diff --git a/lib/bb/parse/__init__.py b/lib/bb/parse/__init__.py index e2e7fe639c2..3015d0c8dc4 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