diff options
author | Mihai Lindner <mihaix.lindner@linux.intel.com> | 2012-12-13 12:55:25 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-14 13:08:49 +0000 |
commit | a947b547d0a5f247e39cbc0fae88c0de5438aa7b (patch) | |
tree | 75481f0cccfc924468ccc3476a23d09c81f012c4 /bitbake/lib | |
parent | ad29d14099bc59fabf0bb2e45d24cbcfa05761ba (diff) | |
download | ast2050-yocto-poky-a947b547d0a5f247e39cbc0fae88c0de5438aa7b.zip ast2050-yocto-poky-a947b547d0a5f247e39cbc0fae88c0de5438aa7b.tar.gz |
bitbake: knotty: use bb.error instead of print
Change to use bb.error instead of print, or maybe that was desired (?)
Also remove a tab, while in the neighborhood.
(Bitbake rev: 4a36a1af71530afc8fa896271fa94362ead176bd)
Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-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 be63e73..a2983ca 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py @@ -146,7 +146,7 @@ class TerminalFilter(object): import curses except ImportError: sys.exit("FATAL: The knotty ui could not load the required curses python module.") - + import termios self.curses = curses self.termios = termios @@ -329,7 +329,7 @@ def main(server, eventHandler, tf = TerminalFilter): logfile = event.logfile if logfile and os.path.exists(logfile): termfilter.clearFooter() - print("ERROR: Logfile of failure stored in: %s" % logfile) + bb.error("Logfile of failure stored in: %s" % logfile) if includelogs and not event.errprinted: print("Log data follows:") f = open(logfile, "r") |