diff options
author | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2003-02-17 09:17:50 (GMT) |
---|---|---|
committer | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2003-02-17 09:17:50 (GMT) |
commit | 437966c2cc2a842032268827168b7e265d454758 (patch) | |
tree | 01dd916cc2a1819742eee74ae476a19c29502e4f | |
parent | a2125fe523cc956f579b408450b32322e769f595 (diff) | |
download | cpython-437966c2cc2a842032268827168b7e265d454758.zip cpython-437966c2cc2a842032268827168b7e265d454758.tar.gz cpython-437966c2cc2a842032268827168b7e265d454758.tar.bz2 |
Tweak to Skip's checkin of patch 686397:
- 'os2' references in ntpath.py relate to the VACPP port, not the EMX port;
- the VACPP port uses the same defpath as all other ntpath.py supported
platforms except 'ce'.
-rw-r--r-- | Lib/ntpath.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/ntpath.py b/Lib/ntpath.py index e39266b..cf3c0be 100644 --- a/Lib/ntpath.py +++ b/Lib/ntpath.py @@ -23,13 +23,12 @@ extsep = '.' sep = '\\' pathsep = ';' altsep = None +defpath = '.;C:\\bin' if 'ce' in sys.builtin_module_names: defpath = '\\Windows' elif 'os2' in sys.builtin_module_names: - # OS/2 w/ EMX + # OS/2 w/ VACPP altsep = '/' -else: - defpath = '.;C:\\bin' # Normalize the case of a pathname and map slashes to backslashes. # Other normalizations (such as optimizing '../' away) are not done |