Show More
@@ -1177,7 +1177,7 b' 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