Re: [PATCH 02/10] python/machine: use subprocess.DEVNULL instead of open(os.path.devnull)

2021-05-13 Thread Philippe Mathieu-Daudé
On 5/12/21 11:46 PM, John Snow wrote: > One less file resource to manage, and it helps quiet some pylint >= > 2.8.0 warnings about not using a with-context manager for the open call. > > Signed-off-by: John Snow > --- > python/qemu/machine.py | 6 ++ > 1 file changed, 2 insertions(+), 4

[PATCH 02/10] python/machine: use subprocess.DEVNULL instead of open(os.path.devnull)

2021-05-12 Thread John Snow
One less file resource to manage, and it helps quiet some pylint >= 2.8.0 warnings about not using a with-context manager for the open call. Signed-off-by: John Snow --- python/qemu/machine.py | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/python/qemu/machine.py