Patchwork [bitbake-devel] knotty: Add missing continue statement for runQueueExitWait event

login
register
mail settings
Submitter Richard Purdie
Date March 10, 2014, 12:56 a.m.
Message ID <1394412978.7883.17.camel@ted>
Download mbox | patch
Permalink /patch/68343/
State New
Headers show

Comments

Richard Purdie - March 10, 2014, 12:56 a.m.
The continue statement was missing for this event and the event was then
listed in the "known safe to ignore list". Clean this up.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 3dada8e..14bdb37 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -320,7 +320,7 @@  def main(server, eventHandler, params, tf = TerminalFilter):
             if isinstance(event, bb.runqueue.runQueueExitWait):
                 if not main.shutdown:
                     main.shutdown = 1
-
+                continue
             if isinstance(event, bb.event.LogExecTTY):
                 if log_exec_tty:
                     tries = event.retries
@@ -485,7 +485,6 @@  def main(server, eventHandler, params, tf = TerminalFilter):
                                   bb.event.RecipeParsed,
                                   bb.event.RecipePreFinalise,
                                   bb.runqueue.runQueueEvent,
-                                  bb.runqueue.runQueueExitWait,
                                   bb.event.OperationStarted,
                                   bb.event.OperationCompleted,
                                   bb.event.OperationProgress,