Fix FuncFailed construction
(Bitbake rev: 085e66f9c14123ea2c0f1e34f7737cf77071f86d) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
136a631b2e
commit
666513982f
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue