summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui
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-05 17:59:13 +0000
commit8d505ec8913a7d51de48b4f52bb64c5d6a0bb08e (patch)
treeca9f022ec3517b73deb0a95c5acde677da1b7937 /lib/bb/ui
parent07de1ca7d57dcd0cc37406feae2949da12a3fa7a (diff)
downloadbitbake-contrib-8d505ec8913a7d51de48b4f52bb64c5d6a0bb08e.tar.gz
uievent: get rid of EventHandler attribute
This attribute was introduced by mistake. EventHandle is used in the code for the same purpose. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui')
-rw-r--r--lib/bb/ui/uievent.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/ui/uievent.py b/lib/bb/ui/uievent.py
index 80686a65b..a900555e3 100644
--- a/lib/bb/ui/uievent.py
+++ b/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):