summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/ncurses.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/ncurses.py
parentb420e865f6dfb04b58c1dbc5f1b5332b137f49ff (diff)
downloadopenembedded-core-contrib-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/ncurses.py')
-rw-r--r--lib/bb/ui/ncurses.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bb/ui/ncurses.py b/lib/bb/ui/ncurses.py
index ab626c9dfc..469f1b7309 100644
--- a/lib/bb/ui/ncurses.py
+++ b/lib/bb/ui/ncurses.py
@@ -244,7 +244,9 @@ class NCursesUI:
exitflag = False
while not exitflag:
try:
- event = eventHandler.get()
+ event = eventHandler.waitEvent(0.25)
+ if not event:
+ continue
helper.eventHandler(event)
if isinstance(event, bb.build.TaskBase):