From 666513982fb767c992471a4dce2aa2f7b9c9cdfb Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sun, 12 Sep 2010 13:54:13 -0700 Subject: Fix FuncFailed construction (Bitbake rev: 085e66f9c14123ea2c0f1e34f7737cf77071f86d) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index afb1aa7b3..3f6bc875c 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): -- cgit v1.2.3