Re: [Qemu-devel] [PATCH v1 02/17] tests/vm: avoid image presence check and removal

2019-06-20 Thread Philippe Mathieu-Daudé
On 6/20/19 12:29 PM, Philippe Mathieu-Daudé wrote: > On 6/19/19 9:40 PM, Alex Bennée wrote: >> From: Cleber Rosa >> >> Python's os.rename() will silently replace an existing file, >> so there's no need for the extra check and removal. >> >> Reference: https://docs.python.org/3/library/os.html#os.r

Re: [Qemu-devel] [PATCH v1 02/17] tests/vm: avoid image presence check and removal

2019-06-20 Thread Philippe Mathieu-Daudé
On 6/19/19 9:40 PM, Alex Bennée wrote: > From: Cleber Rosa > > Python's os.rename() will silently replace an existing file, > so there's no need for the extra check and removal. > > Reference: https://docs.python.org/3/library/os.html#os.rename > Signed-off-by: Cleber Rosa Reviewed-by: Philipp

[Qemu-devel] [PATCH v1 02/17] tests/vm: avoid image presence check and removal

2019-06-19 Thread Alex Bennée
From: Cleber Rosa Python's os.rename() will silently replace an existing file, so there's no need for the extra check and removal. Reference: https://docs.python.org/3/library/os.html#os.rename Signed-off-by: Cleber Rosa Message-Id: <20190613130718.3763-3-cr...@redhat.com> Signed-off-by: Alex B