summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-01-13 17:01:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-15 10:04:26 +0000
commitd242d6ca81dd83b2b13a3ac77ac4cd829a69cf83 (patch)
tree613ad1082cdba86dcf87c266585ed75390235c87
parent9d8f45407c67ed0d3c4f820cf646de3c385067c7 (diff)
downloadbitbake-d242d6ca81dd83b2b13a3ac77ac4cd829a69cf83.tar.gz
bitbake/knotty: don't count errors as warnings in summary
The count of warnings being shown in the summary at the end was also including the number of errors. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/ui/knotty.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py
index 0340619db..5366386b2 100644
--- a/lib/bb/ui/knotty.py
+++ b/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