diff options
-rw-r--r-- | bitbake/lib/bb/server/process.py | 7 |
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 | |||
232 | class BitBakeServer(object): | 239 | class 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 |