mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 21:49:33 +02:00
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:
committed by
Richard Purdie
parent
8a98af2bb5
commit
98a610b3db
@@ -127,7 +127,7 @@ def main(server, eventHandler):
|
|||||||
if event.levelno >= format.ERROR:
|
if event.levelno >= format.ERROR:
|
||||||
errors = errors + 1
|
errors = errors + 1
|
||||||
return_value = 1
|
return_value = 1
|
||||||
if event.levelno >= format.WARNING:
|
elif event.levelno == format.WARNING:
|
||||||
warnings = warnings + 1
|
warnings = warnings + 1
|
||||||
# For "normal" logging conditions, don't show note logs from tasks
|
# 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
|
# but do show them if the user has changed the default log level to
|
||||||
|
|||||||
Reference in New Issue
Block a user