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 | 4a94c7a90ded53ca2fabd2e2cc74e924afcae60e (patch) | |
tree | b0a4197248478dd47d2e698f845b6f2a1acc8722 /Tools | |
parent | c025d8a1cfd234536be97ea9b09a2a933ec65361 (diff) | |
download | cpython-4a94c7a90ded53ca2fabd2e2cc74e924afcae60e.tar.gz |
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 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 = '' |