[PATCH v2 2/2] iotests: Remove Python 2 compatibility code

2019-09-19 Thread Kevin Wolf
Some scripts check the Python version number and have two code paths to accomodate both Python 2 and 3. Remove the code specific to Python 2 and assert the minimum version of 3.6 instead (check skips Python tests in this case, so the assertion would only ever trigger if a Python script is executed

Re: [PATCH v2 2/2] iotests: Remove Python 2 compatibility code

2019-09-19 Thread Eduardo Habkost
On Thu, Sep 19, 2019 at 06:29:05PM +0200, Kevin Wolf wrote: > Some scripts check the Python version number and have two code paths to > accomodate both Python 2 and 3. Remove the code specific to Python 2 and > assert the minimum version of 3.6 instead (check skips Python tests in > this case, so t

Re: [PATCH v2 2/2] iotests: Remove Python 2 compatibility code

2019-09-19 Thread Thomas Huth
On 19/09/2019 18.29, Kevin Wolf wrote: > Some scripts check the Python version number and have two code paths to > accomodate both Python 2 and 3. Remove the code specific to Python 2 and > assert the minimum version of 3.6 instead (check skips Python tests in > this case, so the assertion would on

Re: [PATCH v2 2/2] iotests: Remove Python 2 compatibility code

2019-09-19 Thread John Snow
On 9/19/19 12:29 PM, Kevin Wolf wrote: > Some scripts check the Python version number and have two code paths to > accomodate both Python 2 and 3. Remove the code specific to Python 2 and > assert the minimum version of 3.6 instead (check skips Python tests in > this case, so the assertion would

Re: [PATCH v2 2/2] iotests: Remove Python 2 compatibility code

2019-09-20 Thread Vladimir Sementsov-Ogievskiy
19.09.2019 19:29, Kevin Wolf wrote: > Some scripts check the Python version number and have two code paths to > accomodate both Python 2 and 3. Remove the code specific to Python 2 and > assert the minimum version of 3.6 instead (check skips Python tests in > this case, so the assertion would only