[bitbake-devel] [PATCH 3/4] uievent: get rid of EventHandler attribute
Ed Bartosh
ed.bartosh at linux.intel.com
Thu Dec 31 16:42:15 UTC 2015
This attribute was introduced by mistake. EventHandle is used in the
code for the same purpose.
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
diff --git a/bitbake/lib/bb/ui/uievent.py b/bitbake/lib/bb/ui/uievent.py
index 80686a6..a900555 100644
--- a/bitbake/lib/bb/ui/uievent.py
+++ b/bitbake/lib/bb/ui/uievent.py
@@ -44,14 +44,14 @@ class BBUIEventQueue:
server.register_function( self.send_event, "event.sendpickle" )
server.socket.settimeout(1)
- self.EventHandler = None
+ self.EventHandle = None
count_tries = 0
# the event handler registration may fail here due to cooker being in invalid state
# this is a transient situation, and we should retry a couple of times before
# giving up
- while self.EventHandler == None and count_tries < 5:
+ while self.EventHandle == None and count_tries < 5:
self.EventHandle, error = self.BBServer.registerEventHandler(self.host, self.port)
if (self.EventHandle != None):
--
2.1.4
More information about the bitbake-devel
mailing list