Bläddra i källkod

scripts/pybootchart: Fix print statement

This was broken with the python3 fixes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie 8 år sedan
förälder
incheckning
0eadd008d0
1 ändrade filer med 1 tillägg och 3 borttagningar
  1. 1 3
      scripts/pybootchartgui/pybootchartgui/main.py.in

+ 1 - 3
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)