summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2003-07-17 16:45:43 (GMT)
committerSkip Montanaro <skip@pobox.com>2003-07-17 16:45:43 (GMT)
commit7f7e1371ebf897942a18939e2262277e16c83637 (patch)
tree80c584dd4a3830deb55c679dc4033905a979beb1
parentbd9f520907f3176fe448953848108dddae97d2d7 (diff)
downloadcpython-7f7e1371ebf897942a18939e2262277e16c83637.zip
cpython-7f7e1371ebf897942a18939e2262277e16c83637.tar.gz
cpython-7f7e1371ebf897942a18939e2262277e16c83637.tar.bz2
fix for bug 773020 - splitting PATH should use os.pathsep
-rwxr-xr-xTools/scripts/which.py2
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 = ''