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:25:19 +0100 |
commit | 4808629faa1222b31f92a3e410e06adb8e081293 (patch) | |
tree | 0e8027215476bb17f111c638cf18303557dddaa8 /meta/classes | |
parent | 402d652edf79bcfe1eaf1a3b55ad1177d1e3ee85 (diff) | |
download | openembedded-core-4808629faa1222b31f92a3e410e06adb8e081293.tar.gz openembedded-core-4808629faa1222b31f92a3e410e06adb8e081293.tar.bz2 openembedded-core-4808629faa1222b31f92a3e410e06adb8e081293.zip |
buildstats: Drop spurious open() call
This file is already opened a few lines previously, so drop the duplicated
call.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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) |