Improve code style
This commit is contained in:
parent
876bef5937
commit
7af808a5ef
7 changed files with 5 additions and 8 deletions
|
@ -363,7 +363,7 @@ def encodeArgument(s):
|
|||
if not isinstance(s, compat_str):
|
||||
# Legacy code that uses byte strings
|
||||
# Uncomment the following line after fixing all post processors
|
||||
#assert False, 'Internal error: %r should be of type %r, is %r' % (s, compat_str, type(s))
|
||||
# assert False, 'Internal error: %r should be of type %r, is %r' % (s, compat_str, type(s))
|
||||
s = s.decode('ascii')
|
||||
return encodeFilename(s, True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue