From: Richard Purdie Date: Thu, 11 Jul 2019 11:29:50 +0000 (+0100) Subject: bitbake: uihelper: No longer listen to scenequeue task started X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d472a3af8f51b16805559065007f01bd3c0cbf0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake: uihelper: No longer listen to scenequeue task started 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. (Bitbake rev: 20956b508a082224139c8f56b68299edff6e0443) Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/ui/uihelper.py b/bitbake/lib/bb/ui/uihelper.py index db7f0ca08be..c8dd7df087a 100644 --- a/bitbake/lib/bb/ui/uihelper.py +++ b/bitbake/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