summaryrefslogtreecommitdiffstats
path: root/bitbake
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:06:20 +0000
commit98a610b3db682744ea32bb042a750d2d8b164892 (patch)
tree6c257e0e696241845887c65e73c6bc446befc7f9 /bitbake
parent8a98af2bb5858ef5fd47cf44183eb73a154043dc (diff)
downloadast2050-yocto-poky-98a610b3db682744ea32bb042a750d2d8b164892.zip
ast2050-yocto-poky-98a610b3db682744ea32bb042a750d2d8b164892.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. (Bitbake rev: d242d6ca81dd83b2b13a3ac77ac4cd829a69cf83) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/knotty.py2
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..5366386 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
OpenPOWER on IntegriCloud