summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/build.py')
-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 e800d5cf08..7061cee20d 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -178,8 +178,8 @@ def exec_func_python(func, d, runfile, logfile):
178 comp = utils.better_compile(tmp, func, bbfile) 178 comp = utils.better_compile(tmp, func, bbfile)
179 try: 179 try:
180 utils.better_exec(comp, {"d": d}, tmp, bbfile) 180 utils.better_exec(comp, {"d": d}, tmp, bbfile)
181 except Exception as exc: 181 except:
182 if isinstance(exc, (bb.parse.SkipPackage, bb.build.FuncFailed)): 182 if sys.exc_info()[0] in (bb.parse.SkipPackage, bb.build.FuncFailed):
183 raise 183 raise
184 184
185 raise FuncFailed(func, d, logfile) 185 raise FuncFailed(func, d, logfile)