Skip to content

Commit

Permalink
use more generic print with parathesis as supported by more python ve…
Browse files Browse the repository at this point in the history
…rsion
  • Loading branch information
greenaddress committed Aug 27, 2018
1 parent bac9e44 commit cdb1568
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 cdb1568

Please sign in to comment.