diff options
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 858a00b568..9162c79f6a 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -72,23 +72,23 @@ def init(server, eventHandler): | |||
72 | print("%s: %s (pid %s)" % (tasknum, activetasks[task]["title"], task)) | 72 | print("%s: %s (pid %s)" % (tasknum, activetasks[task]["title"], task)) |
73 | tasknum = tasknum + 1 | 73 | tasknum = tasknum + 1 |
74 | 74 | ||
75 | if isinstance(event, bb.msg.MsgPlain): | 75 | if isinstance(event, bb.event.MsgPlain): |
76 | print(event._message) | 76 | print(event._message) |
77 | continue | 77 | continue |
78 | if isinstance(event, bb.msg.MsgDebug): | 78 | if isinstance(event, bb.event.MsgDebug): |
79 | print('DEBUG: ' + event._message) | 79 | print('DEBUG: ' + event._message) |
80 | continue | 80 | continue |
81 | if isinstance(event, bb.msg.MsgNote): | 81 | if isinstance(event, bb.event.MsgNote): |
82 | print('NOTE: ' + event._message) | 82 | print('NOTE: ' + event._message) |
83 | continue | 83 | continue |
84 | if isinstance(event, bb.msg.MsgWarn): | 84 | if isinstance(event, bb.event.MsgWarn): |
85 | print('WARNING: ' + event._message) | 85 | print('WARNING: ' + event._message) |
86 | continue | 86 | continue |
87 | if isinstance(event, bb.msg.MsgError): | 87 | if isinstance(event, bb.event.MsgError): |
88 | return_value = 1 | 88 | return_value = 1 |
89 | print('ERROR: ' + event._message) | 89 | print('ERROR: ' + event._message) |
90 | continue | 90 | continue |
91 | if isinstance(event, bb.msg.MsgFatal): | 91 | if isinstance(event, bb.event.MsgFatal): |
92 | return_value = 1 | 92 | return_value = 1 |
93 | print('FATAL: ' + event._message) | 93 | print('FATAL: ' + event._message) |
94 | continue | 94 | continue |