summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2014-07-30 11:01:45 +0900
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-02 09:57:11 +0100
commit70d0316d5775b9d2b3b683d81f3177f0cfce0609 (patch)
tree9d72340815b48055093e52a017076de167d1494c /bitbake/lib/bb
parent854d9e463b9fdbd5b1d0a4000420f7f328e042f5 (diff)
downloadpoky-70d0316d5775b9d2b3b683d81f3177f0cfce0609.tar.gz
bitbake: knotty: Move second event check into a proper block
so that it doesn't check it twice for non-empty events (Bitbake rev: e304ace6d8f7d0808ee401b7c01146b2798a81b4) Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/ui/knotty.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 77a708258a..746dcf462a 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -321,8 +321,8 @@ def main(server, eventHandler, params, tf = TerminalFilter):
321 break 321 break
322 termfilter.updateFooter() 322 termfilter.updateFooter()
323 event = eventHandler.waitEvent(0.25) 323 event = eventHandler.waitEvent(0.25)
324 if event is None: 324 if event is None:
325 continue 325 continue
326 helper.eventHandler(event) 326 helper.eventHandler(event)
327 if isinstance(event, bb.runqueue.runQueueExitWait): 327 if isinstance(event, bb.runqueue.runQueueExitWait):
328 if not main.shutdown: 328 if not main.shutdown: