diff options
| author | Skip Montanaro <skip@pobox.com> | 2003-07-17 16:45:43 +0000 |
|---|---|---|
| committer | Skip Montanaro <skip@pobox.com> | 2003-07-17 16:45:43 +0000 |
| commit | 7f7e1371ebf897942a18939e2262277e16c83637 (patch) | |
| tree | 80c584dd4a3830deb55c679dc4033905a979beb1 /Tools/scripts/which.py | |
| parent | bd9f520907f3176fe448953848108dddae97d2d7 (diff) | |
| download | cpython-git-7f7e1371ebf897942a18939e2262277e16c83637.tar.gz | |
fix for bug 773020 - splitting PATH should use os.pathsep
Diffstat (limited to 'Tools/scripts/which.py')
| -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 99dc35544c..218254677b 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 = '' |
