Skip to content

Commit 0c6bf53

Browse files
greenaddressrichardlau
authored andcommitted
lib: use print() for python version detection
PR-URL: #1534 Reviewed-By: Refael Ackermann <[email protected]>
1 parent 9a404d6 commit 0c6bf53

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
@@ -448,7 +448,7 @@ PythonFinder.prototype = {
448448
},
449449

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

0 commit comments

Comments
 (0)