summaryrefslogtreecommitdiff
path: root/scipy_distutils/exec_command.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2004-02-01 11:25:45 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2004-02-01 11:25:45 +0000
commit78db940dbea4a03d04233fb730c0531cab024c43 (patch)
tree0973e51b1cecdde3b33c5cc9b9a13fd2d2fd05bc /scipy_distutils/exec_command.py
parentf426559dd9c667da350e170ea35827b98d5ae502 (diff)
downloadnumpy-78db940dbea4a03d04233fb730c0531cab024c43.tar.gz
Oops, forget splitdrive argument..
Diffstat (limited to 'scipy_distutils/exec_command.py')
-rw-r--r--scipy_distutils/exec_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy_distutils/exec_command.py b/scipy_distutils/exec_command.py
index c476fcbfb..868563e20 100644
--- a/scipy_distutils/exec_command.py
+++ b/scipy_distutils/exec_command.py
@@ -143,7 +143,7 @@ def find_executable(exe, path=None):
# Remove cygwin path components
new_paths = []
for path in paths:
- d,p = os.path.splitdrive()
+ d,p = os.path.splitdrive(path)
if p.lower().find('cygwin') >= 0:
log.debug('removing "%s" from PATH' % (path))
else: