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/ast.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py
index 1180911a7d..bf70ad2658 100644
--- a/bitbake/lib/bb/parse/ast.py
+++ b/bitbake/lib/bb/parse/ast.py
@@ -307,8 +307,6 @@ def handleInherit(statements, filename, lineno, m):
307 statements.append(InheritNode(filename, lineno, classes.split())) 307 statements.append(InheritNode(filename, lineno, classes.split()))
308 308
309def finalize(fn, d, variant = None): 309def finalize(fn, d, variant = None):
310 bb.data.expandKeys(d)
311
312 all_handlers = {} 310 all_handlers = {}
313 for var in bb.data.getVar('__BBHANDLERS', d) or []: 311 for var in bb.data.getVar('__BBHANDLERS', d) or []:
314 # try to add the handler 312 # try to add the handler
@@ -317,6 +315,7 @@ def finalize(fn, d, variant = None):
317 315
318 bb.event.fire(bb.event.RecipePreFinalise(fn), d) 316 bb.event.fire(bb.event.RecipePreFinalise(fn), d)
319 317
318 bb.data.expandKeys(d)
320 bb.data.update_data(d) 319 bb.data.update_data(d)
321 code = [] 320 code = []
322 for funcname in bb.data.getVar("__BBANONFUNCS", d) or []: 321 for funcname in bb.data.getVar("__BBANONFUNCS", d) or []: