diff options
author | Kevin Wolf <kwolf@redhat.com> | 2020-11-13 11:06:02 +0100 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2020-11-16 14:51:12 -0600 |
commit | 2f3c1fd39668b9e565a4e0ba1d62ff5db05d62a5 (patch) | |
tree | 588e9d2001a4bf327ad4491998d6053806c5732b /scripts/nsis.py | |
parent | c0b21f2e221e5edafb400e8acfa04db3ad5bf956 (diff) | |
download | qemu-2f3c1fd39668b9e565a4e0ba1d62ff5db05d62a5.zip qemu-2f3c1fd39668b9e565a4e0ba1d62ff5db05d62a5.tar.gz qemu-2f3c1fd39668b9e565a4e0ba1d62ff5db05d62a5.tar.bz2 |
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: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/nsis.py')
0 files changed, 0 insertions, 0 deletions