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>
This commit is contained in:
Richard Purdie 2016-06-03 14:06:09 +01:00
parent 438ac32628
commit df963f54f1
1 changed files with 1 additions and 3 deletions

View File

@ -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)