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>
This commit is contained in:
Paul Eggleton 2012-01-13 17:01:45 +00:00 committed by Richard Purdie
parent 8a98af2bb5
commit 98a610b3db
1 changed files with 1 additions and 1 deletions

View File

@ -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