diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-09 17:33:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-09 22:28:03 +0100 |
commit | d2ef952851d9ef16875fdbbbc6ae6eb6cfc10cc0 (patch) | |
tree | 3bef2e15a046bd0c925f15d1c5dfddfbdf9824ed /meta/classes/buildstats.bbclass | |
parent | 4a9daa971c0c3c5457d67a3f4d7337f803935a7c (diff) | |
download | openembedded-core-contrib-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/buildstats.bbclass')
-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 () { if timedata: time, cpu = timedata # write end of build and cpu used into build_time - file = open(build_time, "a") file.write("Elapsed time: %0.2f seconds \n" % (time)) if cpu: file.write("CPU usage: %0.1f%% \n" % cpu) |