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:04:26 +0000 |
commit | d242d6ca81dd83b2b13a3ac77ac4cd829a69cf83 (patch) | |
tree | 613ad1082cdba86dcf87c266585ed75390235c87 | |
parent | 9d8f45407c67ed0d3c4f820cf646de3c385067c7 (diff) | |
download | bitbake-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.py | 2 |
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 |