1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Relax ansible-test python version checking.

This commit is contained in:
Matt Clay 2018-11-13 18:02:31 -08:00
parent 6898f02431
commit d6cc3c4187

View file

@ -9,7 +9,7 @@ try:
except ImportError: except ImportError:
pip = None pip = None
print(sys.version) print('.'.join(u'%s' % i for i in sys.version_info))
if pip: if pip:
print('pip %s from %s' % (pip.__version__, os.path.dirname(pip.__file__))) print('pip %s from %s' % (pip.__version__, os.path.dirname(pip.__file__)))