##// END OF EJS Templates
util: use pycompat.bytestr in checkwinfilename...
Augie Fackler -
r31495:d1937bdc default
parent child Browse files
Show More
@@ -1177,7 +1177,7 def checkwinfilename(path):
1177 for n in path.replace('\\', '/').split('/'):
1177 for n in path.replace('\\', '/').split('/'):
1178 if not n:
1178 if not n:
1179 continue
1179 continue
1180 for c in n:
1180 for c in pycompat.bytestr(n):
1181 if c in _winreservedchars:
1181 if c in _winreservedchars:
1182 return _("filename contains '%s', which is reserved "
1182 return _("filename contains '%s', which is reserved "
1183 "on Windows") % c
1183 "on Windows") % c
General Comments 0
You need to be logged in to leave comments. Login now