summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-23 15:06:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-23 15:06:34 +0000
commit91c0b3a2e6d006224d8d2b661ca7528e9d036f1b (patch)
tree98023118a5ac3e6b6bed9f0df0b1fca6b4bc1a57 /bitbake
parent101b599110f7bc29f52a14a968f30323aeb797ca (diff)
downloadopenembedded-core-91c0b3a2e6d006224d8d2b661ca7528e9d036f1b.tar.gz
openembedded-core-91c0b3a2e6d006224d8d2b661ca7528e9d036f1b.tar.bz2
openembedded-core-91c0b3a2e6d006224d8d2b661ca7528e9d036f1b.zip
bitbake/build.py: Fix TaskFailed parameters
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-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 07bd35afcc..a7664bd36d 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -321,7 +321,7 @@ def _exec_task(fn, task, d, quieterr):
except FuncFailed as exc:
if not quieterr:
logger.error(str(exc))
- event.fire(TaskFailed(exc.name, logfn, localdata), localdata)
+ event.fire(TaskFailed(task, logfn, localdata), localdata)
return 1
finally:
sys.stdout.flush()
@@ -364,7 +364,7 @@ def exec_task(fn, task, d):
if not quieterr:
logger.error("Build of %s failed" % (task))
logger.error(format_exc())
- failedevent = TaskFailed("Task Failed", None, task, d)
+ failedevent = TaskFailed(task, None, d)
event.fire(failedevent, d)
return 1