Only print python version when checked

This commit is contained in:
Kevin Sawicki 2014-06-05 08:53:02 -07:00
parent 2a5ac13e4c
commit 0c0f143f91

View File

@ -12,7 +12,7 @@ module.exports = function(cb) {
}
verifyPython27(function(error, pythonSuccessMessage) {
cb(error, nodeSuccessMessage + "\n" + pythonSuccessMessage);
cb(error, (nodeSuccessMessage + "\n" + pythonSuccessMessage).trim());
});
});
@ -46,7 +46,7 @@ function verifyPython27(cb) {
checkPythonVersion(pythonExecutable, cb);
}
else {
cb(null, "Python: <not verified>");
cb(null, '');
}
}