diff options
author | Matt Clay <matt@mystile.com> | 2018-11-13 18:02:31 -0800 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2018-11-13 22:46:04 -0800 |
commit | 1dab508cd451d2becde2129a74fed925838576bc (patch) | |
tree | 6036ac32deddfac29c9c1165c99f203bd9a5aec6 /test/runner/versions.py | |
parent | ce9f2e6147bb046bf000fb5660f77246ef4ce272 (diff) | |
download | ansible-1dab508cd451d2becde2129a74fed925838576bc.tar.gz |
[stable-2.7] Relax ansible-test python version checking.
(cherry picked from commit d6cc3c41874b64e346639549fd18d8c41be0db8b)
Co-authored-by: Matt Clay <matt@mystile.com>
Diffstat (limited to 'test/runner/versions.py')
-rwxr-xr-x | test/runner/versions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runner/versions.py b/test/runner/versions.py index e2a5db8767..78e2fae4ad 100755 --- a/test/runner/versions.py +++ b/test/runner/versions.py @@ -9,7 +9,7 @@ try: except ImportError: pip = None -print(sys.version) +print('.'.join(u'%s' % i for i in sys.version_info)) if pip: print('pip %s from %s' % (pip.__version__, os.path.dirname(pip.__file__))) |