Skip to content

Commit

Permalink
lib: use print() for python version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
greenaddress committed Aug 30, 2018
1 parent bac9e44 commit eaff2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/configure.js
Expand Up @@ -437,7 +437,7 @@ PythonFinder.prototype = {
},

checkPythonVersion: function checkPythonVersion () {
var args = ['-c', 'import sys; print "%s.%s.%s" % sys.version_info[:3];']
var args = ['-c', 'import sys; print("%s.%s.%s" % sys.version_info[:3]);']
var env = extend({}, this.env)
env.TERM = 'dumb'

Expand Down

0 comments on commit eaff2a9

Please sign in to comment.