mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user