From 7f7e1371ebf897942a18939e2262277e16c83637 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Thu, 17 Jul 2003 16:45:43 +0000 Subject: fix for bug 773020 - splitting PATH should use os.pathsep --- Tools/scripts/which.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = '' -- cgit v0.12