summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Crosta <dcrosta@10gen.com>2012-01-31 11:32:59 -0500
committerDan Crosta <dcrosta@10gen.com>2012-01-31 11:33:22 -0500
commit76039e04b7d5706f0c61c374fee1beaf941a259b (patch)
tree66e9615077ce104256bbcd097bbcbd5c44cab4d5
parentd664454f3ec706ad1b0ea054213cc0e899ff7a2f (diff)
downloadmongo-76039e04b7d5706f0c61c374fee1beaf941a259b.tar.gz
make python version detection quiet
-rw-r--r--SConstruct3
1 files changed, 1 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index ea003f367a0..65274715c1d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -770,8 +770,7 @@ def smoke_python_name():
match = version.search(output)
if match and float(match.group(1)) >= 2.5:
return binary
- except Exception, e:
- print >> sys.stderr, "error detecting suitable python:", e
+ except:
pass
# if that all fails, fall back to "python"