summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/uihelper.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-02-27 18:54:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-28 12:27:22 +0000
commitce0ecf5d847b168ad05117cdd1f5fdcc561d770d (patch)
tree994a7639091021cff978e90c74e2db6cb8b27e81 /bitbake/lib/bb/ui/uihelper.py
parente7952c188374508bcf65903d85ae27a593de7465 (diff)
downloadpoky-ce0ecf5d847b168ad05117cdd1f5fdcc561d770d.tar.gz
bitbake: fix setscene task start/failure handling
* When a setscene task starts, print out that it's starting in the UI (ensuring we get the correct task name) * When a setscene task fails, ensure we remove it from the list of running tasks so that if you break out any time afterwards it is not still listed. (Bitbake rev: e8a3499c95a6d4f2b8fed002fb9504733c5be3c6) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/uihelper.py')
-rw-r--r--bitbake/lib/bb/ui/uihelper.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/uihelper.py b/bitbake/lib/bb/ui/uihelper.py
index bbf5135b70..4116dabf94 100644
--- a/bitbake/lib/bb/ui/uihelper.py
+++ b/bitbake/lib/bb/ui/uihelper.py
@@ -32,9 +32,8 @@ class BBUIHelper:
32 if isinstance(event, bb.build.TaskSucceeded): 32 if isinstance(event, bb.build.TaskSucceeded):
33 del self.running_tasks[event.pid] 33 del self.running_tasks[event.pid]
34 self.needUpdate = True 34 self.needUpdate = True
35 if isinstance(event, bb.build.TaskFailed): 35 if isinstance(event, bb.build.TaskFailed) or isinstance(event, bb.build.TaskFailedSilent):
36 del self.running_tasks[event.pid] 36 del self.running_tasks[event.pid]
37 self.failed_tasks.append( { 'title' : "%s %s" % (event._package, event._task)})
38 self.needUpdate = True 37 self.needUpdate = True
39 38
40 def getTasks(self): 39 def getTasks(self):