diff options
author | Dan Crosta <dcrosta@10gen.com> | 2012-02-03 18:21:20 -0500 |
---|---|---|
committer | Dan Crosta <dcrosta@10gen.com> | 2012-02-03 18:21:20 -0500 |
commit | 3885acaf7a1eb9509c0cc3b12a9c54a259c973f5 (patch) | |
tree | 8f68ecffc8e12ce146b5da9f0ac04bc998e54c6f | |
parent | 6b2231a15c45104c5e8ed292ab4eb5ad3fc94a29 (diff) | |
download | mongo-3885acaf7a1eb9509c0cc3b12a9c54a259c973f5.tar.gz |
python-2.4-compatible version of python version detection
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 4349159786f..504fd9d89b9 100644 --- a/SConstruct +++ b/SConstruct @@ -827,7 +827,7 @@ def smoke_python_name(): for binary in binaries: try: # py-2.4 compatible replacement for shell backticks - output = subprocess.Popen([binary, '--version'], stdout=subprocess.PIPE).communicate()[0] + output = subprocess.Popen([binary, '-V'], stdout=subprocess.PIPE).communicate()[0] match = version.search(output) if match and float(match.group(1)) >= 2.5: return binary |