[oe-commits] [openembedded-core] branch master updated: scripts/pybootchart: Fix print statement
git at git.openembedded.org
git at git.openembedded.org
Fri Jun 3 13:38:33 UTC 2016
rpurdie pushed a commit to branch master
in repository openembedded-core.
The following commit(s) were added to refs/heads/master by this push:
new 0eadd00 scripts/pybootchart: Fix print statement
0eadd00 is described below
commit 0eadd008d08f9a6bb17a1f641b4735d0d2012580
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Jun 3 14:06:09 2016 +0100
scripts/pybootchart: Fix print statement
This was broken with the python3 fixes.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/pybootchartgui/pybootchartgui/main.py.in | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/scripts/pybootchartgui/pybootchartgui/main.py.in b/scripts/pybootchartgui/pybootchartgui/main.py.in
index af26bd2..a954b12 100644
--- a/scripts/pybootchartgui/pybootchartgui/main.py.in
+++ b/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)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list