Skip to content

Commit 67205f5

Browse files
cclausstargos
authored andcommitted
build: remove unsupported Python 2.6 from configure
PR-URL: #27381 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 1b94d02 commit 67205f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ del _
1313

1414
import sys
1515
from distutils.spawn import find_executable as which
16-
if sys.version_info[0] != 2 or sys.version_info[1] not in (6, 7):
17-
sys.stderr.write('Please use either Python 2.6 or 2.7')
16+
if sys.version_info[:2] != (2, 7):
17+
sys.stderr.write('Please use Python 2.7')
1818

19-
python2 = which('python2') or which('python2.6') or which('python2.7')
19+
python2 = which('python2') or which('python2.7')
2020

2121
if python2:
2222
sys.stderr.write(':\n\n')

0 commit comments

Comments
 (0)