[oe-commits] [bitbake] 08/19: lib/bb/ui/uihelper: indicate to caller of eventHandler() if events handled

git at git.openembedded.org git at git.openembedded.org
Tue Jul 18 17:21:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 20fecef5633fe24069fae9d73cfac3b55d977cf8
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Mon May 22 12:00:22 2017 +1200

    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.
    
    Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/ui/uihelper.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/bb/ui/uihelper.py b/lib/bb/ui/uihelper.py
index 113fced..963c1ea 100644
--- a/lib/bb/ui/uihelper.py
+++ b/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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list