Re: [PATCH 08/10] iotests: use 'with open()' where applicable

2021-05-13 Thread Philippe Mathieu-Daudé
On 5/12/21 11:46 PM, John Snow wrote: > More pylint 2.8.x warning hushing: use open's context manager where it's > applicable to do so to avoid a warning. > > Signed-off-by: John Snow > --- > tests/qemu-iotests/iotests.py | 13 ++--- > 1 file changed, 6 insertions(+), 7 deletions(-) Rev

[PATCH 08/10] iotests: use 'with open()' where applicable

2021-05-12 Thread John Snow
More pylint 2.8.x warning hushing: use open's context manager where it's applicable to do so to avoid a warning. Signed-off-by: John Snow --- tests/qemu-iotests/iotests.py | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu