util/gen_xmlpool: use with statement to open file
authorDylan Baker <dylan@pnwbakers.com>
Wed, 24 Oct 2018 19:08:38 +0000 (12:08 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 31 Oct 2018 23:37:12 +0000 (16:37 -0700)
commit1df086662a993340127637f88cfe0462b48e66c8
treec7a78da600c0ba229b6312991b32581c89015b37
parentbc4a7645e4cc37f47211eb8176251ecd74417f87
util/gen_xmlpool: use with statement to open file

Which ensures it is closed at the end of the scope.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/util/xmlpool/gen_xmlpool.py