]> code.ossystems Code Review - openembedded-core.git/commitdiff
parse: use bb.utils.which
authorChris Larson <chris_larson@mentor.com>
Fri, 17 Dec 2010 18:54:09 +0000 (11:54 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:52 +0000 (14:46 +0000)
(Bitbake rev: 2bc893dc407bf608cac7e12673161b75b712da83)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/parse/__init__.py

index f9517f03f2c7ff34bae22dc8e1efbfd5aed47e88..bef3d31ea70d0130a56c4308887f58a952c8e3dc 100644 (file)
@@ -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