diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-09-12 13:54:13 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-09-12 13:54:25 -0700 |
commit | 085e66f9c14123ea2c0f1e34f7737cf77071f86d (patch) | |
tree | 87779ea70daf69c3e8de2b740f6137b7817a5480 /lib/bb/build.py | |
parent | c07cc08f7fd503ac3013ccc43c79198c4c3b7b29 (diff) | |
download | bitbake-085e66f9c14123ea2c0f1e34f7737cf77071f86d.tar.gz |
Fix FuncFailed construction
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/build.py')
-rw-r--r-- | lib/bb/build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py index b7c447208..70554f89c 100644 --- a/lib/bb/build.py +++ b/lib/bb/build.py @@ -231,7 +231,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): """Execute a shell BB 'function' Returns true if execution was successful. @@ -274,7 +274,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(task, d): |