Show More
@@ -114,6 +114,9 b' class Abort(Hint, Exception):' | |||||
114 | if pycompat.ispy3: |
|
114 | if pycompat.ispy3: | |
115 |
|
115 | |||
116 | def __str__(self): |
|
116 | def __str__(self): | |
|
117 | # the output would be unreadable if the message was translated, | |||
|
118 | # but do not replace it with encoding.strfromlocal(), which | |||
|
119 | # may raise another exception. | |||
117 | return pycompat.sysstr(self.__bytes__()) |
|
120 | return pycompat.sysstr(self.__bytes__()) | |
118 |
|
121 | |||
119 |
|
122 |
General Comments 0
You need to be logged in to leave comments.
Login now