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'.
This commit is contained in:
Andrew MacIntyre 2003-02-17 09:17:50 +00:00
parent a2125fe523
commit 437966c2cc
1 changed files with 2 additions and 3 deletions

View File

@ -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