diff options
Diffstat (limited to 'bitbake/lib/bb/build.py')
| -rw-r--r-- | bitbake/lib/bb/build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 23b6ee455f..fa22a1b47f 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
| @@ -290,8 +290,8 @@ def exec_func_python(func, d, runfile, cwd=None): | |||
| 290 | lineno = int(d.getVarFlag(func, "lineno", False)) | 290 | lineno = int(d.getVarFlag(func, "lineno", False)) |
| 291 | bb.methodpool.insert_method(func, text, fn, lineno - 1) | 291 | bb.methodpool.insert_method(func, text, fn, lineno - 1) |
| 292 | 292 | ||
| 293 | comp = utils.better_compile(code, func, "exec_python_func() autogenerated") | 293 | comp = utils.better_compile(code, func, "exec_func_python() autogenerated") |
| 294 | utils.better_exec(comp, {"d": d}, code, "exec_python_func() autogenerated") | 294 | utils.better_exec(comp, {"d": d}, code, "exec_func_python() autogenerated") |
| 295 | finally: | 295 | finally: |
| 296 | bb.debug(2, "Python function %s finished" % func) | 296 | bb.debug(2, "Python function %s finished" % func) |
| 297 | 297 | ||
