Re: [Mesa-dev] [PATCH 11/14] util/gen_xmlpool: use with statement to open file

2018-10-31 Thread Emil Velikov
On Fri, 26 Oct 2018 at 18:25, Dylan Baker wrote: > > Which ensures it is closed at the end of the scope. Reviewed-by: Emil Velikov -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 11/14] util/gen_xmlpool: use with statement to open file

2018-10-26 Thread Dylan Baker
Which ensures it is closed at the end of the scope. --- src/util/xmlpool/gen_xmlpool.py | 66 - 1 file changed, 32 insertions(+), 34 deletions(-) diff --git a/src/util/xmlpool/gen_xmlpool.py b/src/util/xmlpool/gen_xmlpool.py index a39f9e9e2fa..6a5dcee0a87 100644 --