diff options
Diffstat (limited to 'bitbake/lib/bb/server/process.py')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index a8ba4681c6..cfcd76495c 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -63,7 +63,12 @@ class ServerCommunicator(): | |||
63 | pass | 63 | pass |
64 | 64 | ||
65 | def getEventHandle(self): | 65 | def getEventHandle(self): |
66 | return self.event_handle.value | 66 | handle, error = self.runCommand(["getUIHandlerNum"]) |
67 | if error: | ||
68 | logger.error("Unable to get UI Handler Number: %s" % error) | ||
69 | raise BaseException(error) | ||
70 | |||
71 | return handle | ||
67 | 72 | ||
68 | class EventAdapter(): | 73 | class EventAdapter(): |
69 | """ | 74 | """ |