##// END OF EJS Templates
windows: use 'str.replace()' instead of combination of split() and join()...
FUJIWARA Katsunori -
r16076:e7701459 default
parent child Browse files
Show More
@@ -123,7 +123,7 b' def setbinary(fd):'
123 msvcrt.setmode(fno(), os.O_BINARY)
123 msvcrt.setmode(fno(), os.O_BINARY)
124
124
125 def pconvert(path):
125 def pconvert(path):
126 return '/'.join(path.split(os.sep))
126 return path.replace(os.sep, '/')
127
127
128 def localpath(path):
128 def localpath(path):
129 return path.replace('/', '\\')
129 return path.replace('/', '\\')
General Comments 0
You need to be logged in to leave comments. Login now