diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-03-01 14:57:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-01 15:51:36 +0000 |
commit | 8078553d7be408af9327eafc3d5e68108fad08de (patch) | |
tree | cf1f990cb50d4c84b0325306ae8a752a2c18df1c | |
parent | ba8538b3a9ecdd8d77eecd277b913c9cf96facd1 (diff) | |
download | poky-8078553d7be408af9327eafc3d5e68108fad08de.tar.gz |
bitbake/runqueue: fix python error on scenequeue task failure
Fixes a regression introduced in commit
e8a3499c95a6d4f2b8fed002fb9504733c5be3c6 which resulted in a
backtrace on setscene task failure due to trying to dereference
the setscene task ID twice.
(Bitbake rev: 8b846a92a58b5c20d7cfd2efd32b763e95c3c2fd)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index f1883d78fe..f44c2ece92 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1611,8 +1611,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute): | |||
1611 | 1611 | ||
1612 | def task_fail(self, task, result): | 1612 | def task_fail(self, task, result): |
1613 | self.stats.taskFailed() | 1613 | self.stats.taskFailed() |
1614 | index = self.rqdata.runq_setscene[task] | 1614 | bb.event.fire(sceneQueueTaskFailed(task, self.stats, result, self), self.cfgData) |
1615 | bb.event.fire(sceneQueueTaskFailed(index, self.stats, result, self), self.cfgData) | ||
1616 | self.scenequeue_notcovered.add(task) | 1615 | self.scenequeue_notcovered.add(task) |
1617 | self.scenequeue_updatecounters(task) | 1616 | self.scenequeue_updatecounters(task) |
1618 | 1617 | ||