From 8d505ec8913a7d51de48b4f52bb64c5d6a0bb08e Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Thu, 31 Dec 2015 18:42:15 +0200 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- lib/bb/ui/uievent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bb/ui/uievent.py b/lib/bb/ui/uievent.py index 80686a65bea..a900555e33b 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): -- 2.47.3