From 73b8f4d3fbeaf1b330a66d76012d0a5cef8dbe2d Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Mon, 9 Sep 2013 17:40:56 +0100 Subject: bitbake: runqueue: add sceneQueueTaskCompleted event Adding an event to be fired when a scene task is completed. It is analogous to the run task completed event, and has been missing for some reason. Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- lib/bb/runqueue.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/bb/runqueue.py') diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index a86833250..25f1ab5ce 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -1645,6 +1645,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute): def task_complete(self, task): self.stats.taskCompleted() + bb.event.fire(sceneQueueTaskCompleted(task, self.stats, self.rq), self.cfgData) self.task_completeoutright(task) def task_fail(self, task, result): @@ -1828,6 +1829,11 @@ class runQueueTaskCompleted(runQueueEvent): Event notifing a task completed """ +class sceneQueueTaskCompleted(sceneQueueEvent): + """ + Event notifing a setscene task completed + """ + class runQueuePipe(): """ Abstraction for a pipe between a worker thread and the server -- cgit 1.2.3-korg