Show More
@@ -1340,7 +1340,7 b' def checkwinfilename(path):' | |||||
1340 | if base and base.lower() in _winreservednames: |
|
1340 | if base and base.lower() in _winreservednames: | |
1341 | return _("filename contains '%s', which is reserved " |
|
1341 | return _("filename contains '%s', which is reserved " | |
1342 | "on Windows") % base |
|
1342 | "on Windows") % base | |
1343 | t = n[-1] |
|
1343 | t = n[-1:] | |
1344 | if t in '. ' and n not in '..': |
|
1344 | if t in '. ' and n not in '..': | |
1345 | return _("filename ends with '%s', which is not allowed " |
|
1345 | return _("filename ends with '%s', which is not allowed " | |
1346 | "on Windows") % t |
|
1346 | "on Windows") % t |
General Comments 0
You need to be logged in to leave comments.
Login now