diff options
author | cookedm <cookedm@localhost> | 2007-08-17 18:32:01 +0000 |
---|---|---|
committer | cookedm <cookedm@localhost> | 2007-08-17 18:32:01 +0000 |
commit | 42fd3467cb4d3bbf7b79b1577f23dfed05746470 (patch) | |
tree | ab2a7c56e7bcc72feb5ebd6be4f79937164d4a36 /numpy/distutils/exec_command.py | |
parent | c4e38d2904e8337019ad4f735d92feabf1f789a1 (diff) | |
download | numpy-42fd3467cb4d3bbf7b79b1577f23dfed05746470.tar.gz |
exec_command.py: remove a version check for > Python 2.1
Diffstat (limited to 'numpy/distutils/exec_command.py')
-rw-r--r-- | numpy/distutils/exec_command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/exec_command.py b/numpy/distutils/exec_command.py index edd554d92..5863f5d6e 100644 --- a/numpy/distutils/exec_command.py +++ b/numpy/distutils/exec_command.py @@ -137,7 +137,7 @@ def find_executable(exe, path=None, _cache={}): if path is None: path = os.environ.get('PATH',os.defpath) - if os.name=='posix' and sys.version[:3]>'2.1': + if os.name=='posix': realpath = os.path.realpath else: realpath = lambda a:a |