summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/__init__.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-09 17:11:03 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:32 +0100
commit6623d79adaf445081e68b307355292077800d4f4 (patch)
tree219d0c9b31de4331703e1a81d3b7f233ac0169cf /bitbake/lib/bb/parse/__init__.py
parent1569c1ac851b56bc73bf8ccd5270cbdd9da68a2f (diff)
downloadpoky-6623d79adaf445081e68b307355292077800d4f4.tar.gz
Stop using functions via 'bb' that were moved from there to other modules
(Bitbake rev: 03a6c26f8da226f442c3cab557e4733f7cd6eeac) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/parse/__init__.py')
-rw-r--r--bitbake/lib/bb/parse/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py
index 2a7897cdf2..4c7a98f330 100644
--- a/bitbake/lib/bb/parse/__init__.py
+++ b/bitbake/lib/bb/parse/__init__.py
@@ -29,6 +29,7 @@ __all__ = [ 'ParseError', 'SkipPackage', 'cached_mtime', 'mark_dependency',
29handlers = [] 29handlers = []
30 30
31import bb, os 31import bb, os
32import bb.utils
32 33
33class ParseError(Exception): 34class ParseError(Exception):
34 """Exception raised when parsing fails""" 35 """Exception raised when parsing fails"""
@@ -82,7 +83,7 @@ def init(fn, data):
82 83
83def resolve_file(fn, d): 84def resolve_file(fn, d):
84 if not os.path.isabs(fn): 85 if not os.path.isabs(fn):
85 fn = bb.which(bb.data.getVar("BBPATH", d, 1), fn) 86 fn = bb.utils.which(bb.data.getVar("BBPATH", d, 1), fn)
86 if not fn: 87 if not fn:
87 raise IOError("file %s not found" % fn) 88 raise IOError("file %s not found" % fn)
88 89