Show More
@@ -517,7 +517,7 b' def checkwinfilename(path):' | |||
|
517 | 517 | >>> checkwinfilename("foo/bar/bla:.txt") |
|
518 | 518 | "filename contains ':', which is reserved on Windows" |
|
519 | 519 | >>> checkwinfilename("foo/bar/b\07la.txt") |
|
520 | "filename contains '\\x07', which is invalid on Windows" | |
|
520 | "filename contains '\\\\x07', which is invalid on Windows" | |
|
521 | 521 | >>> checkwinfilename("foo/bar/bla ") |
|
522 | 522 | "filename ends with ' ', which is not allowed on Windows" |
|
523 | 523 | ''' |
@@ -529,7 +529,7 b' def checkwinfilename(path):' | |||
|
529 | 529 | return _("filename contains '%s', which is reserved " |
|
530 | 530 | "on Windows") % c |
|
531 | 531 | if ord(c) <= 31: |
|
532 |
return _("filename contains |
|
|
532 | return _("filename contains %r, which is invalid " | |
|
533 | 533 | "on Windows") % c |
|
534 | 534 | base = n.split('.')[0] |
|
535 | 535 | if base and base.lower() in _windows_reserved_filenames: |
General Comments 0
You need to be logged in to leave comments.
Login now