[gnome-continuous-yocto/gnomeostree-3.28-rocko: 6822/8267] bitbake: lib/bb/ui/uihelper: indicate to caller of eventHandler() if events handled
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 6822/8267] bitbake: lib/bb/ui/uihelper: indicate to caller of eventHandler() if events handled
- Date: Sun, 17 Dec 2017 05:23:03 +0000 (UTC)
commit 87182f2ce7e3a168d91a8e1f5b662c2a84e8a634
Author: Paul Eggleton <paul eggleton linux intel com>
Date: Wed Jul 19 11:56:04 2017 +0200
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>
bitbake/lib/bb/ui/uihelper.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/bitbake/lib/bb/ui/uihelper.py b/bitbake/lib/bb/ui/uihelper.py
index 113fced..963c1ea 100644
--- a/bitbake/lib/bb/ui/uihelper.py
+++ b/bitbake/lib/bb/ui/uihelper.py
@@ -61,6 +61,9 @@ class BBUIHelper:
self.running_tasks[event.pid]['progress'] = event.progress
self.running_tasks[event.pid]['rate'] = event.rate
self.needUpdate = True
+ else:
+ return False
+ return True
def getTasks(self):
self.needUpdate = False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]