diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 13:01:34 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 13:01:34 +0100 |
commit | 93059e36200b61f87f61578d9774172212446644 (patch) | |
tree | f94ffd2af6843c7b0f9d5b8f1fbb5d2d2859ada9 /lib/bb/ui/ncurses.py | |
parent | b420e865f6dfb04b58c1dbc5f1b5332b137f49ff (diff) | |
download | openembedded-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.py | 4 |
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): |