|
|
@ -363,7 +363,7 @@ def encodeArgument(s):
|
|
|
|
if not isinstance(s, compat_str):
|
|
|
|
if not isinstance(s, compat_str):
|
|
|
|
# Legacy code that uses byte strings
|
|
|
|
# Legacy code that uses byte strings
|
|
|
|
# Uncomment the following line after fixing all post processors
|
|
|
|
# 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')
|
|
|
|
s = s.decode('ascii')
|
|
|
|
return encodeFilename(s, True)
|
|
|
|
return encodeFilename(s, True)
|
|
|
|
|
|
|
|
|
|
|
|