From 42fd3467cb4d3bbf7b79b1577f23dfed05746470 Mon Sep 17 00:00:00 2001 From: cookedm Date: Fri, 17 Aug 2007 18:32:01 +0000 Subject: exec_command.py: remove a version check for > Python 2.1 --- numpy/distutils/exec_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/distutils/exec_command.py') 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 -- cgit v1.2.1