]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: uihelper: Set update flag when start event encountered
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Oct 2012 16:42:27 +0000 (16:42 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Oct 2012 16:55:40 +0000 (16:55 +0000)
Its a minor correctness detail but the update flag should be set
when Start events are encountered.

(Bitbake rev: 96683ed68e11672ff22fb4a291d2628676c136f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/uihelper.py

index e408b0491039b633eb30d2eace50cb021f2b28b5..a703387fb851bb634c033912216c7a75a1f8983b 100644 (file)
@@ -51,6 +51,7 @@ class BBUIHelper:
         if isinstance(event, bb.runqueue.runQueueTaskStarted) or isinstance(event, bb.runqueue.sceneQueueTaskStarted):
             self.tasknumber_current = event.stats.completed + event.stats.active + event.stats.failed + 1
             self.tasknumber_total = event.stats.total
+            self.needUpdate = True
 
     def getTasks(self):
         self.needUpdate = False