summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-12-13 14:45:41 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-20 13:15:54 +0000
commit25e449a710d2be741e61af552860d2022528c89a (patch)
tree562750f4f1b7473e076c9d35684ea621c47b3ee1 /bitbake
parent94c916d7f09ca019cd6f96cd32e78960315645a1 (diff)
downloadpoky-25e449a710d2be741e61af552860d2022528c89a.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] (Bitbake rev: 540ba78075bd525776aa23bf38bee66350c66534) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/runningbuild.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py
index 509590af35..4f609fc622 100644
--- a/bitbake/lib/bb/ui/crumbs/runningbuild.py
+++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py
@@ -179,6 +179,10 @@ class RunningBuild (gobject.GObject):
179 # that we need to attach to a task. 179 # that we need to attach to a task.
180 self.tasks_to_iter[(package, task)] = i 180 self.tasks_to_iter[(package, task)] = i
181 181
182 # If we don't handle these the GUI does not proceed
183 elif isinstance(event, bb.build.TaskInvalid):
184 return
185
182 elif isinstance(event, bb.build.TaskBase): 186 elif isinstance(event, bb.build.TaskBase):
183 current = self.tasks_to_iter[(package, task)] 187 current = self.tasks_to_iter[(package, task)]
184 parent = self.tasks_to_iter[(package, None)] 188 parent = self.tasks_to_iter[(package, None)]