Change to use bb.error instead of print, or maybe that was desired (?)
Also remove a tab, while in the neighborhood.
Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
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")