From: Richard Purdie Date: Fri, 3 Jun 2016 13:06:09 +0000 (+0100) Subject: scripts/pybootchart: Fix print statement X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=df963f54f121938c6bec66a6bb1a1776617a3192;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git scripts/pybootchart: Fix print statement This was broken with the python3 fixes. (From OE-Core rev: 0eadd008d08f9a6bb17a1f641b4735d0d2012580) Signed-off-by: Richard Purdie --- diff --git a/scripts/pybootchartgui/pybootchartgui/main.py.in b/scripts/pybootchartgui/pybootchartgui/main.py.in index af26bd22961..a954b125da5 100644 --- a/scripts/pybootchartgui/pybootchartgui/main.py.in +++ b/scripts/pybootchartgui/pybootchartgui/main.py.in @@ -147,9 +147,7 @@ def main(argv=None): for time in res[4]: if time is not None: # output as ms - print(time * 10, file=f) - else: - print(file=f) + f.write(time * 10) finally: f.close() filename = _get_filename(options.output)