summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-31 18:42:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-06 15:27:35 +0000
commitebc169c36039cc682b28f29688769b5903372a76 (patch)
tree238f17eeef98e0eba8b8ef128a936f256d27e963
parent4e0de6eca23488dc6f334ef28453b46c046888af (diff)
downloadpoky-ebc169c36039cc682b28f29688769b5903372a76.tar.gz
bitbake: uievent: get rid of EventHandler attribute
This attribute was introduced by mistake. EventHandle is used in the code for the same purpose. (Bitbake rev: 8d505ec8913a7d51de48b4f52bb64c5d6a0bb08e) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/ui/uievent.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/uievent.py b/bitbake/lib/bb/ui/uievent.py
index 80686a65be..a900555e33 100644
--- a/bitbake/lib/bb/ui/uievent.py
+++ b/bitbake/lib/bb/ui/uievent.py
@@ -44,14 +44,14 @@ class BBUIEventQueue:
44 server.register_function( self.send_event, "event.sendpickle" ) 44 server.register_function( self.send_event, "event.sendpickle" )
45 server.socket.settimeout(1) 45 server.socket.settimeout(1)
46 46
47 self.EventHandler = None 47 self.EventHandle = None
48 count_tries = 0 48 count_tries = 0
49 49
50 # the event handler registration may fail here due to cooker being in invalid state 50 # the event handler registration may fail here due to cooker being in invalid state
51 # this is a transient situation, and we should retry a couple of times before 51 # this is a transient situation, and we should retry a couple of times before
52 # giving up 52 # giving up
53 53
54 while self.EventHandler == None and count_tries < 5: 54 while self.EventHandle == None and count_tries < 5:
55 self.EventHandle, error = self.BBServer.registerEventHandler(self.host, self.port) 55 self.EventHandle, error = self.BBServer.registerEventHandler(self.host, self.port)
56 56
57 if (self.EventHandle != None): 57 if (self.EventHandle != None):