summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/depexp.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/ui/depexp.py')
-rw-r--r--lib/bb/ui/depexp.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/bb/ui/depexp.py b/lib/bb/ui/depexp.py
index a0737ee0b..f11166fbd 100644
--- a/lib/bb/ui/depexp.py
+++ b/lib/bb/ui/depexp.py
@@ -223,13 +223,7 @@ def main(server, eventHandler):
progress_total = 0
while True:
try:
- try:
- # We must get nonblocking here, else we'll never check the
- # quit signal
- event = eventHandler.get(False, 0.25)
- except Queue.Empty:
- pass
-
+ event = eventHandler.waitEvent(0.25)
if gtkthread.quit.isSet():
server.runCommand(["stateStop"])
break