diff options
author | cclauss <cclauss@me.com> | 2019-04-24 10:59:18 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-04-30 23:16:40 +0300 |
commit | 56098a9c3f227df29ece95d773186194f2a1ec64 (patch) | |
tree | c5e406a8ebc922e8f83305cdeeaeadc8d6f78372 /configure | |
parent | e4e6a33e6a6fbf852b2e689591cf96534b4f524e (diff) |
build: remove unsupported Python 2.6 from configure
PR-URL: https://github.com/nodejs/node/pull/27381
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure index 495d0e88488..9156e13f7ae 100755 --- a/configure +++ b/configure @@ -13,10 +13,10 @@ del _ import sys from distutils.spawn import find_executable as which -if sys.version_info[0] != 2 or sys.version_info[1] not in (6, 7): - sys.stderr.write('Please use either Python 2.6 or 2.7') +if sys.version_info[:2] != (2, 7): + sys.stderr.write('Please use Python 2.7') - python2 = which('python2') or which('python2.6') or which('python2.7') + python2 = which('python2') or which('python2.7') if python2: sys.stderr.write(':\n\n') |