summaryrefslogtreecommitdiff
path: root/numpy/distutils/exec_command.py
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2007-08-17 18:32:01 +0000
committercookedm <cookedm@localhost>2007-08-17 18:32:01 +0000
commit42fd3467cb4d3bbf7b79b1577f23dfed05746470 (patch)
treeab2a7c56e7bcc72feb5ebd6be4f79937164d4a36 /numpy/distutils/exec_command.py
parentc4e38d2904e8337019ad4f735d92feabf1f789a1 (diff)
downloadnumpy-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.py2
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