aboutsummaryrefslogtreecommitdiffstats
path: root/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:42:30 +0000
commit96683ed68e11672ff22fb4a291d2628676c136f0 (patch)
tree1138cc173e24e308894150bb168f67d389ff4bf5 /lib
parentd787e4efc106589811651bc18ca48d5223443b95 (diff)
downloadbitbake-96683ed68e11672ff22fb4a291d2628676c136f0.tar.gz
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/ui/uihelper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/ui/uihelper.py b/lib/bb/ui/uihelper.py
index e408b0491..a703387fb 100644
--- a/lib/bb/ui/uihelper.py
+++ b/lib/bb/ui/uihelper.py
@@ -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