From 56098a9c3f227df29ece95d773186194f2a1ec64 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 24 Apr 2019 03:59:18 -0400 Subject: build: remove unsupported Python 2.6 from configure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/27381 Reviewed-By: Michaƫl Zasso Reviewed-By: Beth Griggs Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: Ruben Bridgewater Reviewed-By: Rich Trott --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 495d0e8848..9156e13f7a 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') -- cgit v1.2.3