diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-12-13 14:45:41 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-20 13:14:40 +0000 |
commit | 540ba78075bd525776aa23bf38bee66350c66534 (patch) | |
tree | 333b42de5610246c52bede120132f3946de2cded | |
parent | 5337ed86820ab0a2cbb3fd82eb11edb807c47f54 (diff) | |
download | bitbake-540ba78075bd525776aa23bf38bee66350c66534.tar.gz |
ui/crumbs/runningbuild: handle InvalidTask events
The knotty UI just ignores these and so should RunningBuild, if these events
aren't handled the UI appears to hang.
Fixes [YOCTO #1665]
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/ui/crumbs/runningbuild.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/ui/crumbs/runningbuild.py b/lib/bb/ui/crumbs/runningbuild.py index 509590af3..4f609fc62 100644 --- a/lib/bb/ui/crumbs/runningbuild.py +++ b/lib/bb/ui/crumbs/runningbuild.py @@ -179,6 +179,10 @@ class RunningBuild (gobject.GObject): # that we need to attach to a task. self.tasks_to_iter[(package, task)] = i + # If we don't handle these the GUI does not proceed + elif isinstance(event, bb.build.TaskInvalid): + return + elif isinstance(event, bb.build.TaskBase): current = self.tasks_to_iter[(package, task)] parent = self.tasks_to_iter[(package, None)] |