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:
parent
438ac32628
commit
df963f54f1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue