From patchwork Wed Jan 11 18:30:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel,1/4] bitbake/knotty: don't count errors as warnings Date: Wed, 11 Jan 2012 18:30:48 -0000 From: Paul Eggleton X-Patchwork-Id: 19095 Message-Id: <2f0137e4558e924e61a308a9c9b310d37bc6f83b.1326306561.git.paul.eggleton@linux.intel.com> To: bitbake-devel@lists.openembedded.org The count of warnings being shown at the end also included the number of errors. Signed-off-by: Paul Eggleton --- bitbake/lib/bb/ui/knotty.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 0340619..cd6e0e7 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py @@ -127,7 +127,7 @@ def main(server, eventHandler): if event.levelno >= format.ERROR: errors = errors + 1 return_value = 1 - if event.levelno >= format.WARNING: + elif event.levelno >= format.WARNING: warnings = warnings + 1 # For "normal" logging conditions, don't show note logs from tasks # but do show them if the user has changed the default log level to