summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-09-12 13:54:13 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:36 +0000
commit666513982fb767c992471a4dce2aa2f7b9c9cdfb (patch)
tree8135de069d14bcec9a455d4880284738ca3d02a0 /bitbake/lib/bb/build.py
parent136a631b2ee048133093aa5be98c04af6a6f3d9c (diff)
downloadpoky-666513982fb767c992471a4dce2aa2f7b9c9cdfb.tar.gz
Fix FuncFailed construction
(Bitbake rev: 085e66f9c14123ea2c0f1e34f7737cf77071f86d) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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 afb1aa7b30..3f6bc875c0 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -188,7 +188,7 @@ def exec_func_python(func, d, runfile, logfile):
188 if sys.exc_info()[0] in (bb.parse.SkipPackage, bb.build.FuncFailed): 188 if sys.exc_info()[0] in (bb.parse.SkipPackage, bb.build.FuncFailed):
189 raise 189 raise
190 190
191 raise FuncFailed(func, d, logfile) 191 raise FuncFailed(func, logfile)
192 192
193 193
194def exec_func_shell(func, d, runfile, logfile, flags): 194def exec_func_shell(func, d, runfile, logfile, flags):
@@ -231,7 +231,7 @@ def exec_func_shell(func, d, runfile, logfile, flags):
231 if ret == 0: 231 if ret == 0:
232 return 232 return
233 233
234 raise FuncFailed(func, d, logfile) 234 raise FuncFailed(func, logfile)
235 235
236 236
237def exec_task(fn, task, d): 237def exec_task(fn, task, d):