summaryrefslogtreecommitdiff
path: root/scripts/pybootchartgui
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-03 14:06:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-03 14:37:41 +0100
commit0eadd008d08f9a6bb17a1f641b4735d0d2012580 (patch)
tree49612eb84f4a1014b8e089acfe44ba3d9e76f7ab /scripts/pybootchartgui
parentb3f4de76d1b32c5079b0b857655cc2baad088519 (diff)
downloadopenembedded-core-0eadd008d08f9a6bb17a1f641b4735d0d2012580.tar.gz
openembedded-core-0eadd008d08f9a6bb17a1f641b4735d0d2012580.tar.bz2
openembedded-core-0eadd008d08f9a6bb17a1f641b4735d0d2012580.zip
scripts/pybootchart: Fix print statement
This was broken with the python3 fixes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/pybootchartgui')
-rw-r--r--scripts/pybootchartgui/pybootchartgui/main.py.in4
1 files changed, 1 insertions, 3 deletions
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)