summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 6ce8f1e6d3..ab3344c460 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -295,8 +295,8 @@ def exec_func_python(func, d, runfile, cwd=None):
295 lineno = int(d.getVarFlag(func, "lineno", False)) 295 lineno = int(d.getVarFlag(func, "lineno", False))
296 bb.methodpool.insert_method(func, text, fn, lineno - 1) 296 bb.methodpool.insert_method(func, text, fn, lineno - 1)
297 297
298 comp = utils.better_compile(code, func, "exec_python_func() autogenerated") 298 comp = utils.better_compile(code, func, "exec_func_python() autogenerated")
299 utils.better_exec(comp, {"d": d}, code, "exec_python_func() autogenerated") 299 utils.better_exec(comp, {"d": d}, code, "exec_func_python() autogenerated")
300 finally: 300 finally:
301 bb.debug(2, "Python function %s finished" % func) 301 bb.debug(2, "Python function %s finished" % func)
302 302