python: remove more instances of sys.version_info
commit2d110c11497ac52d5ce9f4b116463cdb8c3f4ad5
authorJohn Snow <jsnow@redhat.com>
Thu, 14 May 2020 03:52:30 +0000 (13 23:52 -0400)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 31 May 2020 16:25:07 +0000 (31 18:25 +0200)
treefaf409f8ecaefb379907700e69938a5dfbe459fe
parentc7b942d7f84ef54f266921bf7668d43f1f2c7c79
python: remove more instances of sys.version_info

We guarantee 3.5+ everywhere; remove more dead checks. In general, try
to avoid using version checks and instead prefer to attempt behavior
when possible.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200514035230.25756-1-jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
scripts/analyze-migration.py
scripts/decodetree.py
scripts/qmp/qmp-shell
tests/docker/docker.py
tests/qemu-iotests/nbd-fault-injector.py