summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/server/process.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 12f368f80f..44b8e4d496 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -229,6 +229,13 @@ class ProcessEventQueue(multiprocessing.queues.Queue):
229 except Empty: 229 except Empty:
230 return None 230 return None
231 231
232 def getEvent(self):
233 try:
234 return self.get(False)
235 except Empty:
236 return None
237
238
232class BitBakeServer(object): 239class BitBakeServer(object):
233 def initServer(self): 240 def initServer(self):
234 # establish communication channels. We use bidirectional pipes for 241 # establish communication channels. We use bidirectional pipes for