]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/patch: use with open() for all file operations
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 18 May 2015 15:15:05 +0000 (16:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 May 2015 07:16:47 +0000 (08:16 +0100)
commit99ac382d84667eb496dc510d3277b8c55b237738
tree6c2da33f805a95857a5acade4dfcb165d4322753
parent69f426a2d966a2228cbdc708b9ddab31005c6d96
lib/oe/patch: use with open() for all file operations

with open(...)... is preferred for reading/writing files as it is neater
and takes care of closing the file for you.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/patch.py