From 717f13d63cb904ce48533d3f1b2b00d278741f6f Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 17 Dec 2010 11:54:09 -0700 Subject: parse: use bb.utils.which (Bitbake rev: 2bc893dc407bf608cac7e12673161b75b712da83) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/parse/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/parse') 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 -- cgit v1.2.3