Skip to content

Commit

Permalink
lib: restore python 2.6 compatibilty
Browse files Browse the repository at this point in the history
Dropped accidentally in backport @
#1910

The change to >=2.7 was declared semver-major in
#1813
  • Loading branch information
rvagg committed Oct 4, 2019
1 parent a06be9c commit 1550067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/find-python.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ PythonFinder.prototype = {
log: logWithPrefix(log, 'find Python'),
argsExecutable: ['-c', 'import sys; print(sys.executable);'],
argsVersion: ['-c', 'import sys; print("%s.%s.%s" % sys.version_info[:3]);'],
semverRange: '2.7.x || >=3.5.0',
semverRange: '>=2.6.x || >=3.5.0',

// These can be overridden for testing:
execFile: cp.execFile,
Expand Down

0 comments on commit 1550067

Please sign in to comment.