[stable-2.7] Relax ansible-test python version checking.

(cherry picked from commit d6cc3c4187)

Co-authored-by: Matt Clay <matt@mystile.com>
pull/48693/head
Matt Clay 6 years ago
parent ce9f2e6147
commit 1dab508cd4

@ -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__)))

Loading…
Cancel
Save