diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 9f3ec41b5c..69a84f7830 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -114,9 +114,10 @@ def main(server, eventHandler): | |||
114 | print("%s: %s (pid %s)" % (tasknum, activetasks[task]["title"], task)) | 114 | print("%s: %s (pid %s)" % (tasknum, activetasks[task]["title"], task)) |
115 | 115 | ||
116 | if isinstance(event, logging.LogRecord): | 116 | if isinstance(event, logging.LogRecord): |
117 | if event.levelno is logging.CRITICAL or event.levelno is logging.ERROR: | 117 | if event.levelno >= logging.CRITICAL: |
118 | return_value = 1 | ||
119 | if event.levelno is logging.ERROR: | ||
118 | return_value = 1 | 120 | return_value = 1 |
119 | if isinstance(event, logging.LogRecord): | ||
120 | logger.handle(event) | 121 | logger.handle(event) |
121 | continue | 122 | continue |
122 | 123 | ||