diff options
author | Greg Ward <gward@python.net> | 2000-05-31 02:32:10 +0000 |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-05-31 02:32:10 +0000 |
commit | d8dfb4c4b8d661acee263e3feb77974ced69e97d (patch) | |
tree | 19fd4f8d8b032f885118e9e181d67b87820e8762 /Lib/distutils/command/install.py | |
parent | 65bc20c23e22543e13ff6d1fbdf51705a0b5aa1a (diff) | |
download | cpython-git-d8dfb4c4b8d661acee263e3feb77974ced69e97d.tar.gz |
Renamed 'native_path()' to 'convert_path()'.
Also changed it so it doesn't barf if the path is already in native format
(ie. contains os.sep).
Diffstat (limited to 'Lib/distutils/command/install.py')
-rw-r--r-- | Lib/distutils/command/install.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index 13fa88ee19..7176fab890 100644 --- a/Lib/distutils/command/install.py +++ b/Lib/distutils/command/install.py @@ -10,7 +10,7 @@ import sys, os, string from types import * from distutils.core import Command, DEBUG from distutils import sysconfig -from distutils.util import write_file, native_path, subst_vars, change_root +from distutils.util import write_file, convert_path, subst_vars, change_root from distutils.errors import DistutilsOptionError from glob import glob @@ -423,7 +423,7 @@ class install (Command): # convert to local form in case Unix notation used (as it # should be in setup scripts) - extra_dirs = native_path (extra_dirs) + extra_dirs = convert_path (extra_dirs) else: path_file = None |