diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-02-27 18:54:11 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-28 12:25:27 +0000 |
commit | e8a3499c95a6d4f2b8fed002fb9504733c5be3c6 (patch) | |
tree | 62fe974291c512047b4582ce3f2568ca46769c10 /lib/bb/ui/uihelper.py | |
parent | bf1d7739618dabf3872a868230c0112b9ad2a2c0 (diff) | |
download | bitbake-contrib-e8a3499c95a6d4f2b8fed002fb9504733c5be3c6.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.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui/uihelper.py')
-rw-r--r-- | lib/bb/ui/uihelper.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bb/ui/uihelper.py b/lib/bb/ui/uihelper.py index bbf5135b7..4116dabf9 100644 --- a/lib/bb/ui/uihelper.py +++ b/lib/bb/ui/uihelper.py @@ -32,9 +32,8 @@ class BBUIHelper: if isinstance(event, bb.build.TaskSucceeded): del self.running_tasks[event.pid] self.needUpdate = True - if isinstance(event, bb.build.TaskFailed): + if isinstance(event, bb.build.TaskFailed) or isinstance(event, bb.build.TaskFailedSilent): del self.running_tasks[event.pid] - self.failed_tasks.append( { 'title' : "%s %s" % (event._package, event._task)}) self.needUpdate = True def getTasks(self): |