##// 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 b' def checkwinfilename(path):'
1177 1177 for n in path.replace('\\', '/').split('/'):
1178 1178 if not n:
1179 1179 continue
1180 for c in n:
1180 for c in pycompat.bytestr(n):
1181 1181 if c in _winreservedchars:
1182 1182 return _("filename contains '%s', which is reserved "
1183 1183 "on Windows") % c
General Comments 0
You need to be logged in to leave comments. Login now