##// END OF EJS Templates
py3: do not reimplement Abort.__str__() on Python 2...
Yuya Nishihara -
r43735:822202e7 stable
parent child Browse files
Show More
@@ -111,8 +111,10 b' class Abort(Hint, Exception):'
111
111
112 __bytes__ = _tobytes
112 __bytes__ = _tobytes
113
113
114 def __str__(self):
114 if pycompat.ispy3:
115 return pycompat.sysstr(self.__bytes__())
115
116 def __str__(self):
117 return pycompat.sysstr(self.__bytes__())
116
118
117
119
118 class HookLoadError(Abort):
120 class HookLoadError(Abort):
General Comments 0
You need to be logged in to leave comments. Login now