Skip to content
Snippets Groups Projects
Commit ca3dca416f8d authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

py3: add inline comment about encoding issue of str(Abort())

parent 822202e72f69
No related branches found
Tags 5.2
No related merge requests found
......@@ -114,6 +114,9 @@
if pycompat.ispy3:
def __str__(self):
# the output would be unreadable if the message was translated,
# but do not replace it with encoding.strfromlocal(), which
# may raise another exception.
return pycompat.sysstr(self.__bytes__())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment