Rename error_to_str to error_to_compat_str
This commit is contained in:
parent
d890b4cc0a
commit
9b9c5355e4
7 changed files with 17 additions and 17 deletions
|
@ -1810,7 +1810,7 @@ def args_to_str(args):
|
|||
return ' '.join(shlex_quote(a) for a in args)
|
||||
|
||||
|
||||
def error_to_str(err):
|
||||
def error_to_compat_str(err):
|
||||
err_str = str(err)
|
||||
# On python 2 error byte string must be decoded with proper
|
||||
# encoding rather than ascii
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue