diff options
Diffstat (limited to 'bitbake/lib/bb/server/process.py')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index c3c1450a50..9ca2b6958d 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -253,6 +253,8 @@ class ProcessEventQueue(multiprocessing.queues.Queue): | |||
253 | try: | 253 | try: |
254 | if not self.server.is_alive(): | 254 | if not self.server.is_alive(): |
255 | return self.getEvent() | 255 | return self.getEvent() |
256 | if timeout == 0: | ||
257 | return self.get(False) | ||
256 | return self.get(True, timeout) | 258 | return self.get(True, timeout) |
257 | except Empty: | 259 | except Empty: |
258 | return None | 260 | return None |