]> code.ossystems Code Review - openembedded-core.git/commitdiff
Fix FuncFailed construction
authorChris Larson <chris_larson@mentor.com>
Sun, 12 Sep 2010 20:54:13 +0000 (13:54 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:36 +0000 (14:46 +0000)
(Bitbake rev: 085e66f9c14123ea2c0f1e34f7737cf77071f86d)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/build.py

index afb1aa7b30d583bbe22d0fef541424a70d0f905d..3f6bc875c0d565b57013e70f95f99362d352a65a 100644 (file)
@@ -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):