summaryrefslogtreecommitdiffstats
path: root/pc-bios
diff options
context:
space:
mode:
authorCleber Rosa2019-06-13 15:07:16 +0200
committerAlex Bennée2019-07-04 20:22:58 +0200
commitfcd2060e8efff83b7bdef04323077f87e011fdc4 (patch)
treeac49becc308c34193731a232a2868551d1654eb1 /pc-bios
parenttests/vm: avoid extra compressed image copy (diff)
downloadqemu-fcd2060e8efff83b7bdef04323077f87e011fdc4.tar.gz
qemu-fcd2060e8efff83b7bdef04323077f87e011fdc4.tar.xz
qemu-fcd2060e8efff83b7bdef04323077f87e011fdc4.zip
tests/vm: avoid image presence check and removal
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 <crosa@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190613130718.3763-3-crosa@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions