Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-01-09 21:53:10 +0400
committerisaacs <i@izs.me>2013-01-09 21:53:10 +0400
commitc6425feb463270c416d30b67d32a69a713e56cbe (patch)
tree38fdcec90e1e555fa829d079eb39e6a1f1ce65a3 /node_modules/node-gyp/lib/configure.js
parentff075002c8a14c5b55b98acb09b1b0ca7593293b (diff)
node-gyp@0.8.2
Diffstat (limited to 'node_modules/node-gyp/lib/configure.js')
-rw-r--r--node_modules/node-gyp/lib/configure.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/node-gyp/lib/configure.js b/node_modules/node-gyp/lib/configure.js
index 08b69026b..82de1e6ce 100644
--- a/node_modules/node-gyp/lib/configure.js
+++ b/node_modules/node-gyp/lib/configure.js
@@ -91,11 +91,11 @@ function configure (gyp, argv, callback) {
}
function checkPythonVersion () {
- execFile(python, ['-c', 'import platform; print platform.python_version();'], function (err, stdout) {
+ execFile(python, ['-c', 'import platform; print(platform.python_version());'], function (err, stdout) {
if (err) {
return callback(err)
}
- log.verbose('check python version', '`%s -c "import platform; print platform.python_version();"` returned: %j', python, stdout)
+ log.verbose('check python version', '`%s -c "import platform; print(platform.python_version());"` returned: %j', python, stdout)
var version = stdout.trim()
if (~version.indexOf('+')) {
log.silly('stripping "+" sign(s) from version')