Re: [PATCH for-5.2] iotests: Replace deprecated ConfigParser.readfp()

2020-11-16 Thread Philippe Mathieu-Daudé
On 11/13/20 11:06 AM, Kevin Wolf wrote: > 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, rea

Re: [PATCH for-5.2] iotests: Replace deprecated ConfigParser.readfp()

2020-11-13 Thread Eric Blake
On 11/13/20 8:40 AM, Kevin Wolf wrote: > Am 13.11.2020 um 14:47 hat Eric Blake geschrieben: >> On 11/13/20 4:06 AM, Kevin Wolf wrote: >>> iotest 277 fails on Fedora 33 (Python 3.9) because a deprecation warning >>> changes the output: >>> >>> nbd-fault-injector.py:230: DeprecationWarning: This

Re: [PATCH for-5.2] iotests: Replace deprecated ConfigParser.readfp()

2020-11-13 Thread Kevin Wolf
Am 13.11.2020 um 14:47 hat Eric Blake geschrieben: > On 11/13/20 4:06 AM, Kevin Wolf wrote: > > 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

Re: [PATCH for-5.2] iotests: Replace deprecated ConfigParser.readfp()

2020-11-13 Thread Eric Blake
On 11/13/20 4:06 AM, Kevin Wolf wrote: > 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, read

[PATCH for-5.2] iotests: Replace deprecated ConfigParser.readfp()

2020-11-13 Thread Kevin Wolf
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 th