mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
fix for bug 773020 - splitting PATH should use os.pathsep
This commit is contained in:
parent
bd9f520907
commit
7f7e1371eb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue