Commits

smontanaro committed 86c476a

fix for bug 773020 - splitting PATH should use os.pathsep

  • Participants
  • Parent commits a73c28d
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Tools/scripts/which.py

 def msg(str):
     sys.stderr.write(str + '\n')
 
-pathlist = os.environ['PATH'].split(':')
+pathlist = os.environ['PATH'].split(os.pathsep)
 
 sts = 0
 longlist = ''