summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-03-01 16:46:54 (GMT)
committerMats Wichmann <mats@linux.com>2019-03-01 17:10:38 (GMT)
commit83c4b8ff692066bf29daa9a6aebf10818a914475 (patch)
treeec26b4b7a17b95aa512273f627d11f0093d6741d /SConstruct
parentf765b5c4fa6b41de214b243daa6dd3ad6356dfe2 (diff)
downloadSCons-83c4b8ff692066bf29daa9a6aebf10818a914475.zip
SCons-83c4b8ff692066bf29daa9a6aebf10818a914475.tar.gz
SCons-83c4b8ff692066bf29daa9a6aebf10818a914475.tar.bz2
[WIP] for #3304: drop use of -tt if py3
As noted in issue #3304, the Python flag to error on inconsistent tabs/spaces has been dropped for Python 3 interpreters; while CPython still accepts it, silently ignoring it, PyPy3 errors out. This change adds the flag throughout the testsuite run only if using a Python2 interpreter. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 0 insertions, 6 deletions
diff --git a/SConstruct b/SConstruct
index b94a3e3..5ac5692 100644
--- a/SConstruct
+++ b/SConstruct
@@ -46,8 +46,6 @@ import time
import socket
import textwrap
-
-
import bootstrap
project = 'scons'
@@ -56,7 +54,6 @@ copyright = "Copyright (c) %s The SCons Foundation" % copyright_years
SConsignFile()
-
#
# We let the presence or absence of various utilities determine whether
# or not we bother to build certain pieces of things. This should allow
@@ -129,9 +126,6 @@ if build_id is None:
else:
build_id = ''
-
-python_ver = sys.version[0:3]
-
#
# Adding some paths to sys.path, this is mainly needed
# for the doc toolchain.