diff options
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index be63e730f0..a2983ca3a4 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -146,7 +146,7 @@ class TerminalFilter(object): | |||
146 | import curses | 146 | import curses |
147 | except ImportError: | 147 | except ImportError: |
148 | sys.exit("FATAL: The knotty ui could not load the required curses python module.") | 148 | sys.exit("FATAL: The knotty ui could not load the required curses python module.") |
149 | 149 | ||
150 | import termios | 150 | import termios |
151 | self.curses = curses | 151 | self.curses = curses |
152 | self.termios = termios | 152 | self.termios = termios |
@@ -329,7 +329,7 @@ def main(server, eventHandler, tf = TerminalFilter): | |||
329 | logfile = event.logfile | 329 | logfile = event.logfile |
330 | if logfile and os.path.exists(logfile): | 330 | if logfile and os.path.exists(logfile): |
331 | termfilter.clearFooter() | 331 | termfilter.clearFooter() |
332 | print("ERROR: Logfile of failure stored in: %s" % logfile) | 332 | bb.error("Logfile of failure stored in: %s" % logfile) |
333 | if includelogs and not event.errprinted: | 333 | if includelogs and not event.errprinted: |
334 | print("Log data follows:") | 334 | print("Log data follows:") |
335 | f = open(logfile, "r") | 335 | f = open(logfile, "r") |