summaryrefslogtreecommitdiff
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
parent136a631b2ee048133093aa5be98c04af6a6f3d9c (diff)
downloadopenembedded-core-666513982fb767c992471a4dce2aa2f7b9c9cdfb.tar.gz
openembedded-core-666513982fb767c992471a4dce2aa2f7b9c9cdfb.tar.bz2
openembedded-core-666513982fb767c992471a4dce2aa2f7b9c9cdfb.zip
Fix FuncFailed construction
(Bitbake rev: 085e66f9c14123ea2c0f1e34f7737cf77071f86d) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-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):
if sys.exc_info()[0] in (bb.parse.SkipPackage, bb.build.FuncFailed):
raise
- raise FuncFailed(func, d, logfile)
+ raise FuncFailed(func, logfile)
def exec_func_shell(func, d, runfile, logfile, flags):
@@ -231,7 +231,7 @@ def exec_func_shell(func, d, runfile, logfile, flags):
if ret == 0:
return
- raise FuncFailed(func, d, logfile)
+ raise FuncFailed(func, logfile)
def exec_task(fn, task, d):