Skip to content

Commit aebdd7a

Browse files
greenaddressrefack
authored andcommitted
lib: use print() for python version detection
PR-URL: #1534 Reviewed-By: Refael Ackermann <[email protected]>
1 parent 2b5ce52 commit aebdd7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/configure.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ PythonFinder.prototype = {
437437
},
438438

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

0 commit comments

Comments
 (0)