summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index 2ee8ebd28f..c585b60fee 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -84,7 +84,7 @@ def inherit(files, fn, lineno, d):
84 if not file in __inherit_cache: 84 if not file in __inherit_cache:
85 logger.log(logging.DEBUG -1, "BB %s:%d: inheriting %s", fn, lineno, file) 85 logger.log(logging.DEBUG -1, "BB %s:%d: inheriting %s", fn, lineno, file)
86 __inherit_cache.append( file ) 86 __inherit_cache.append( file )
87 data.setVar('__inherit_cache', __inherit_cache, d) 87 d.setVar('__inherit_cache', __inherit_cache)
88 include(fn, file, lineno, d, "inherit") 88 include(fn, file, lineno, d, "inherit")
89 __inherit_cache = d.getVar('__inherit_cache') or [] 89 __inherit_cache = d.getVar('__inherit_cache') or []
90 90
@@ -134,7 +134,7 @@ def handle(fn, d, include):
134 __inherit_cache = d.getVar('__inherit_cache') or [] 134 __inherit_cache = d.getVar('__inherit_cache') or []
135 if not fn in __inherit_cache: 135 if not fn in __inherit_cache:
136 __inherit_cache.append(fn) 136 __inherit_cache.append(fn)
137 data.setVar('__inherit_cache', __inherit_cache, d) 137 d.setVar('__inherit_cache', __inherit_cache)
138 138
139 if include != 0: 139 if include != 0:
140 oldfile = d.getVar('FILE') 140 oldfile = d.getVar('FILE')
@@ -151,7 +151,7 @@ def handle(fn, d, include):
151 151
152 # DONE WITH PARSING... time to evaluate 152 # DONE WITH PARSING... time to evaluate
153 if ext != ".bbclass": 153 if ext != ".bbclass":
154 data.setVar('FILE', abs_fn, d) 154 d.setVar('FILE', abs_fn)
155 155
156 try: 156 try:
157 statements.eval(d) 157 statements.eval(d)