diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-01-13 17:01:45 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-15 10:06:20 +0000 |
commit | 98a610b3db682744ea32bb042a750d2d8b164892 (patch) | |
tree | 6c257e0e696241845887c65e73c6bc446befc7f9 /bitbake/lib | |
parent | 8a98af2bb5858ef5fd47cf44183eb73a154043dc (diff) | |
download | 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/lib')
-rw-r--r-- | 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 0340619dbd..5366386b20 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -127,7 +127,7 @@ def main(server, eventHandler): | |||
127 | if event.levelno >= format.ERROR: | 127 | if event.levelno >= format.ERROR: |
128 | errors = errors + 1 | 128 | errors = errors + 1 |
129 | return_value = 1 | 129 | return_value = 1 |
130 | if event.levelno >= format.WARNING: | 130 | elif event.levelno == format.WARNING: |
131 | warnings = warnings + 1 | 131 | warnings = warnings + 1 |
132 | # For "normal" logging conditions, don't show note logs from tasks | 132 | # For "normal" logging conditions, don't show note logs from tasks |
133 | # but do show them if the user has changed the default log level to | 133 | # but do show them if the user has changed the default log level to |