diff options
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 7fb7f84e5b..34180fb93e 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -111,10 +111,10 @@ def main(server, eventHandler): | |||
111 | print("%s: %s (pid %s)" % (tasknum, activetasks[task]["title"], task)) | 111 | print("%s: %s (pid %s)" % (tasknum, activetasks[task]["title"], task)) |
112 | 112 | ||
113 | if isinstance(event, logging.LogRecord): | 113 | if isinstance(event, logging.LogRecord): |
114 | if event.levelno >= logging.CRITICAL: | 114 | if event.levelno >= format.ERROR: |
115 | return_value = 1 | ||
116 | if event.levelno is logging.ERROR: | ||
117 | return_value = 1 | 115 | return_value = 1 |
116 | if event.taskpid != 0 and event.levelno <= format.NOTE: | ||
117 | continue | ||
118 | logger.handle(event) | 118 | logger.handle(event) |
119 | continue | 119 | continue |
120 | 120 | ||