diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-03 14:06:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-03 14:38:01 +0100 |
commit | df963f54f121938c6bec66a6bb1a1776617a3192 (patch) | |
tree | b76768aba97537faef690c24c4707918b3656968 /scripts | |
parent | 438ac3262851b3915ac8c37db7800b8a9008068c (diff) | |
download | poky-df963f54f121938c6bec66a6bb1a1776617a3192.tar.gz |
scripts/pybootchart: Fix print statement
This was broken with the python3 fixes.
(From OE-Core rev: 0eadd008d08f9a6bb17a1f641b4735d0d2012580)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/pybootchartgui/pybootchartgui/main.py.in | 4 |
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): | |||
147 | for time in res[4]: | 147 | for time in res[4]: |
148 | if time is not None: | 148 | if time is not None: |
149 | # output as ms | 149 | # output as ms |
150 | print(time * 10, file=f) | 150 | f.write(time * 10) |
151 | else: | ||
152 | print(file=f) | ||
153 | finally: | 151 | finally: |
154 | f.close() | 152 | f.close() |
155 | filename = _get_filename(options.output) | 153 | filename = _get_filename(options.output) |