diff options
| author | Pearu Peterson <pearu.peterson@gmail.com> | 2006-02-11 15:18:36 +0000 |
|---|---|---|
| committer | Pearu Peterson <pearu.peterson@gmail.com> | 2006-02-11 15:18:36 +0000 |
| commit | 7d4d958724a9ea5259680e84a46837b86b1aefa8 (patch) | |
| tree | 1b6a34dec78e8916f8d1ce964408a471e23814c3 /numpy/distutils/misc_util.py | |
| parent | 8ee6df7668b3ae0568573620153e71e36c9c399a (diff) | |
| download | numpy-7d4d958724a9ea5259680e84a46837b86b1aefa8.tar.gz | |
Fixed minrelpath tests for platforms where os.path.sep<>'/'.
Diffstat (limited to 'numpy/distutils/misc_util.py')
| -rw-r--r-- | numpy/distutils/misc_util.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py index 1efd9b896..7fe329385 100644 --- a/numpy/distutils/misc_util.py +++ b/numpy/distutils/misc_util.py @@ -93,8 +93,6 @@ def minrelpath(path): return path if '..' not in path: return path - if os.sep != '/': - path.replace('/',os.sep) l = path.split(os.sep) j = 1 while l: |
