[bitbake-devel] uihelper: No longer listen to scenequeue task started

Submitted by Richard Purdie on July 11, 2019, 11:30 a.m. | Patch ID: 162992

Details

Message ID 20190711113059.32148-1-richard.purdie@linuxfoundation.org
State Accepted
Commit 20956b508a082224139c8f56b68299edff6e0443
Headers show

Commit Message

Richard Purdie July 11, 2019, 11:30 a.m.
With the merge of the scenequeue with real tasks, this now confuses the
statistics. The real tasks are the definitive progress so monitor only
those.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/ui/uihelper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/lib/bb/ui/uihelper.py b/lib/bb/ui/uihelper.py
index db7f0ca08b..c8dd7df087 100644
--- a/lib/bb/ui/uihelper.py
+++ b/lib/bb/ui/uihelper.py
@@ -40,7 +40,7 @@  class BBUIHelper:
             self.running_pids.remove(event.pid)
             self.failed_tasks.append( { 'title' : "%s %s" % (event._package, event._task)})
             self.needUpdate = True
-        elif isinstance(event, bb.runqueue.runQueueTaskStarted) or isinstance(event, bb.runqueue.sceneQueueTaskStarted):
+        elif isinstance(event, bb.runqueue.runQueueTaskStarted):
             self.tasknumber_current = event.stats.completed + event.stats.active + event.stats.failed + 1
             self.tasknumber_total = event.stats.total
             self.needUpdate = True