summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-09 17:33:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-09 22:28:03 +0100
commitd2ef952851d9ef16875fdbbbc6ae6eb6cfc10cc0 (patch)
tree3bef2e15a046bd0c925f15d1c5dfddfbdf9824ed /meta/classes
parent4a9daa971c0c3c5457d67a3f4d7337f803935a7c (diff)
downloadpoky-d2ef952851d9ef16875fdbbbc6ae6eb6cfc10cc0.tar.gz
buildstats: Drop spurious open() call
This file is already opened a few lines previously, so drop the duplicated call. (From OE-Core rev: 4808629faa1222b31f92a3e410e06adb8e081293) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/buildstats.bbclass1
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)