summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/knotty.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-08 13:01:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-08 13:01:34 +0100
commit93059e36200b61f87f61578d9774172212446644 (patch)
treef94ffd2af6843c7b0f9d5b8f1fbb5d2d2859ada9 /lib/bb/ui/knotty.py
parentb420e865f6dfb04b58c1dbc5f1b5332b137f49ff (diff)
downloadbitbake-93059e36200b61f87f61578d9774172212446644.tar.gz
bitbake/server/process: Move implementation knowledge of event queue into the server
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui/knotty.py')
-rw-r--r--lib/bb/ui/knotty.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py
index 1396939fc..44d1c1dc9 100644
--- a/lib/bb/ui/knotty.py
+++ b/lib/bb/ui/knotty.py
@@ -96,8 +96,9 @@ def main(server, eventHandler):
return_value = 0
while True:
try:
- event = eventHandler.get()
-
+ event = eventHandler.waitEvent(0.25)
+ if event is None:
+ continue
helper.eventHandler(event)
if isinstance(event, bb.runqueue.runQueueExitWait):
if not shutdown: