From 98349dbdd88970ac0274e8d9e5f12dc0e9737bdb Mon Sep 17 00:00:00 2001 From: Zeno Albisser Date: Wed, 14 Jan 2015 14:54:32 +0100 Subject: Print only major.minor.micro version of python. This will avoid printing the compiler version python was built with. Showing the compiler version led to confusion multiple times. Change-Id: I4ced2128b92c83a41f616bcf756f2c313a9caed3 Reviewed-by: Andras Becsi --- tools/buildscripts/gyp_qtwebengine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildscripts/gyp_qtwebengine b/tools/buildscripts/gyp_qtwebengine index 6f2bbc936..970cce54e 100755 --- a/tools/buildscripts/gyp_qtwebengine +++ b/tools/buildscripts/gyp_qtwebengine @@ -5,7 +5,7 @@ import os import sys import subprocess -print 'using python: ' + sys.executable + ' version: ' + sys.version +print 'using python: ' + sys.executable + ' version: ' + str(sys.version_info.major) + '.' + str(sys.version_info.minor) + '.' + str(sys.version_info.micro) if sys.platform == "darwin": print 'xcode version: ' + subprocess.check_output(['xcodebuild', '-version']).replace('\n', ' ') -- cgit v1.2.3