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>
This commit is contained in:
parent
23c6b49566
commit
90f8d53800
|
@ -179,6 +179,10 @@ class RunningBuild (gobject.GObject):
|
||||||
# that we need to attach to a task.
|
# that we need to attach to a task.
|
||||||
self.tasks_to_iter[(package, task)] = i
|
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):
|
elif isinstance(event, bb.build.TaskBase):
|
||||||
current = self.tasks_to_iter[(package, task)]
|
current = self.tasks_to_iter[(package, task)]
|
||||||
parent = self.tasks_to_iter[(package, None)]
|
parent = self.tasks_to_iter[(package, None)]
|
||||||
|
|
Loading…
Reference in New Issue