buildstats: Update to ensure files are closed
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 May 2013 12:55:58 +0000 (13:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 May 2013 13:06:50 +0000 (14:06 +0100)
commite16a2a3ada2aaa36f4112a8340757d800814c1c4
treeae51abdd0f25cbeb795efe75c27f732aac78e8d1
parent034cef2f65098cfc0ba509c9babe411adec94dc0
buildstats: Update to ensure files are closed

python3 doesn't like files being left open. This updates the code style
to ensure file are closed.

(From OE-Core rev: ec74285bd2108f12f33fc8ac0dc1d124ab48be21)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildstats.bbclass