summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-30 16:42:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-30 16:55:40 +0000
commit62651064d1a61b1c5b6334a7a77952ddbdf5b639 (patch)
tree1a4d23a41789b5628942aab5395e2561baa8aaaa /bitbake/lib
parent44c5d3dc845988be9a11df6e0c8aef51377aef49 (diff)
downloadpoky-62651064d1a61b1c5b6334a7a77952ddbdf5b639.tar.gz
bitbake: uihelper: Set update flag when start event encountered
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>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/uihelper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/uihelper.py b/bitbake/lib/bb/ui/uihelper.py
index e408b04910..a703387fb8 100644
--- a/bitbake/lib/bb/ui/uihelper.py
+++ b/bitbake/lib/bb/ui/uihelper.py
@@ -51,6 +51,7 @@ class BBUIHelper:
51 if isinstance(event, bb.runqueue.runQueueTaskStarted) or isinstance(event, bb.runqueue.sceneQueueTaskStarted): 51 if isinstance(event, bb.runqueue.runQueueTaskStarted) or isinstance(event, bb.runqueue.sceneQueueTaskStarted):
52 self.tasknumber_current = event.stats.completed + event.stats.active + event.stats.failed + 1 52 self.tasknumber_current = event.stats.completed + event.stats.active + event.stats.failed + 1
53 self.tasknumber_total = event.stats.total 53 self.tasknumber_total = event.stats.total
54 self.needUpdate = True
54 55
55 def getTasks(self): 56 def getTasks(self):
56 self.needUpdate = False 57 self.needUpdate = False