Skip to content

Commit

Permalink
lib: use print() for python version detection
Browse files Browse the repository at this point in the history
PR-URL: #1534
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
greenaddress authored and richardlau committed Apr 12, 2019
1 parent 9a404d6 commit 0c6bf53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,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 0c6bf53

Please sign in to comment.