This commit is contained in:
Andrew Resch 2009-04-21 16:32:53 +00:00
parent 0e10f608b9
commit 4fde1b4a2f
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ def makeinfo(path, piece_length, progress, name = None,
raise Exception('Could not convert file/directory name %r to '
'Unicode. Either the assumed filesystem '
'encoding "%s" is wrong or the filename contains '
'illegal bytes.') % (name, get_filesystem_encoding())
'illegal bytes.' % (name, get_filesystem_encoding()))
if u.translate(noncharacter_translate) != u:
raise Exception('File/directory name "%s" contains reserved '