From 03a6c26f8da226f442c3cab557e4733f7cd6eeac Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 9 Apr 2010 17:11:03 -0700 Subject: Stop using functions via 'bb' that were moved from there to other modules Signed-off-by: Chris Larson --- lib/bb/parse/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/bb/parse/__init__.py') diff --git a/lib/bb/parse/__init__.py b/lib/bb/parse/__init__.py index 2a7897cdf..4c7a98f33 100644 --- a/lib/bb/parse/__init__.py +++ b/lib/bb/parse/__init__.py @@ -29,6 +29,7 @@ __all__ = [ 'ParseError', 'SkipPackage', 'cached_mtime', 'mark_dependency', handlers = [] import bb, os +import bb.utils class ParseError(Exception): """Exception raised when parsing fails""" @@ -82,7 +83,7 @@ def init(fn, data): def resolve_file(fn, d): if not os.path.isabs(fn): - fn = bb.which(bb.data.getVar("BBPATH", d, 1), fn) + fn = bb.utils.which(bb.data.getVar("BBPATH", d, 1), fn) if not fn: raise IOError("file %s not found" % fn) -- cgit 1.2.3-korg