From df963f54f121938c6bec66a6bb1a1776617a3192 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 3 Jun 2016 14:06:09 +0100 Subject: scripts/pybootchart: Fix print statement This was broken with the python3 fixes. (From OE-Core rev: 0eadd008d08f9a6bb17a1f641b4735d0d2012580) Signed-off-by: Richard Purdie --- scripts/pybootchartgui/pybootchartgui/main.py.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts/pybootchartgui') diff --git a/scripts/pybootchartgui/pybootchartgui/main.py.in b/scripts/pybootchartgui/pybootchartgui/main.py.in index af26bd2296..a954b125da 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) -- cgit v1.2.3-54-g00ecf