summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-07-19 11:56:04 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-21 08:41:12 +0100
commit87182f2ce7e3a168d91a8e1f5b662c2a84e8a634 (patch)
tree1a0a648c61bf2d4b346a85fd264e3f7df0d7938f /bitbake/lib
parent21bb330f4632ae9e8dd9eaff2879bcd24f9cf194 (diff)
downloadpoky-87182f2ce7e3a168d91a8e1f5b662c2a84e8a634.tar.gz
bitbake: lib/bb/ui/uihelper: indicate to caller of eventHandler() if events handled
It is useful for the caller to know whether the uihelper has handled the event passed so that it can skip other event handling code if so. (Bitbake rev: be498abfbbb19bdd31e5b53713a74049007e3737) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/uihelper.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/uihelper.py b/bitbake/lib/bb/ui/uihelper.py
index 113fcedeaf..963c1ea2df 100644
--- a/bitbake/lib/bb/ui/uihelper.py
+++ b/bitbake/lib/bb/ui/uihelper.py
@@ -61,6 +61,9 @@ class BBUIHelper:
61 self.running_tasks[event.pid]['progress'] = event.progress 61 self.running_tasks[event.pid]['progress'] = event.progress
62 self.running_tasks[event.pid]['rate'] = event.rate 62 self.running_tasks[event.pid]['rate'] = event.rate
63 self.needUpdate = True 63 self.needUpdate = True
64 else:
65 return False
66 return True
64 67
65 def getTasks(self): 68 def getTasks(self):
66 self.needUpdate = False 69 self.needUpdate = False