diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/buildstats.bbclass | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes/buildstats.bbclass b/meta/classes/buildstats.bbclass index 453c50b968..e12e14fcd6 100644 --- a/meta/classes/buildstats.bbclass +++ b/meta/classes/buildstats.bbclass | |||
@@ -217,7 +217,6 @@ python run_buildstats () { | |||
217 | if timedata: | 217 | if timedata: |
218 | time, cpu = timedata | 218 | time, cpu = timedata |
219 | # write end of build and cpu used into build_time | 219 | # write end of build and cpu used into build_time |
220 | file = open(build_time, "a") | ||
221 | file.write("Elapsed time: %0.2f seconds \n" % (time)) | 220 | file.write("Elapsed time: %0.2f seconds \n" % (time)) |
222 | if cpu: | 221 | if cpu: |
223 | file.write("CPU usage: %0.1f%% \n" % cpu) | 222 | file.write("CPU usage: %0.1f%% \n" % cpu) |