summary refs log tree commit diff stats
path: root/scripts/nsis.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2020-11-13 11:06:02 +0100
committerKevin Wolf <kwolf@redhat.com>2020-11-17 12:26:47 +0100
commit5aaabf9161c501142558f1837f6f90c94ee15081 (patch)
tree9efab97c2631d5d6bc757752c857e33990dbf4d3 /scripts/nsis.py
parent6deb20f6683662a3ff5b5248dea2fd4d1055a628 (diff)
downloadfocaccia-qemu-5aaabf9161c501142558f1837f6f90c94ee15081.tar.gz
focaccia-qemu-5aaabf9161c501142558f1837f6f90c94ee15081.zip
iotests: Replace deprecated ConfigParser.readfp()
iotest 277 fails on Fedora 33 (Python 3.9) because a deprecation warning
changes the output:

    nbd-fault-injector.py:230: DeprecationWarning: This method will be
    removed in future versions.  Use 'parser.read_file()' instead.

In fact, readfp() has already been deprecated in Python 3.2 and the
replacement has existed since the same version, so we can now
unconditionally switch to read_file().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20201113100602.15936-1-kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/nsis.py')
0 files changed, 0 insertions, 0 deletions