mirror of https://github.com/python/cpython
fix for bug 773020 - splitting PATH should use os.pathsep
This commit is contained in:
parent
bd9f520907
commit
7f7e1371eb
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in New Issue