|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 02/10] python/machine: use subprocess.DEVNULL instead of open(os.path.devnull) |
Date: | Thu, 13 May 2021 11:39:50 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
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 <jsnow@redhat.com> > --- > python/qemu/machine.py | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |