diff options
author | Skip Montanaro <skip@pobox.com> | 2003-07-17 16:45:43 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2003-07-17 16:45:43 (GMT) |
commit | 7f7e1371ebf897942a18939e2262277e16c83637 (patch) | |
tree | 80c584dd4a3830deb55c679dc4033905a979beb1 /Tools | |
parent | bd9f520907f3176fe448953848108dddae97d2d7 (diff) | |
download | cpython-7f7e1371ebf897942a18939e2262277e16c83637.zip cpython-7f7e1371ebf897942a18939e2262277e16c83637.tar.gz cpython-7f7e1371ebf897942a18939e2262277e16c83637.tar.bz2 |
fix for bug 773020 - splitting PATH should use os.pathsep
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/which.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/which.py b/Tools/scripts/which.py index 99dc355..2182546 100755 --- a/Tools/scripts/which.py +++ b/Tools/scripts/which.py @@ -13,7 +13,7 @@ from stat import * def msg(str): sys.stderr.write(str + '\n') -pathlist = os.environ['PATH'].split(':') +pathlist = os.environ['PATH'].split(os.pathsep) sts = 0 longlist = '' |