diff options
Diffstat (limited to 'bitbake/lib/bb/ui/uievent.py')
-rw-r--r-- | bitbake/lib/bb/ui/uievent.py | 4 |
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): |