##// END OF EJS Templates
error: unconditionally define __str__...
Gregory Szorc -
r49744:9baec00b default
parent child Browse files
Show More
@@ -68,8 +68,6 b' class Error(Hint, Exception):'
68 def __bytes__(self):
68 def __bytes__(self):
69 return self.message
69 return self.message
70
70
71 if pycompat.ispy3:
72
73 def __str__(self):
71 def __str__(self):
74 # type: () -> str
72 # type: () -> str
75 # the output would be unreadable if the message was translated,
73 # the output would be unreadable if the message was translated,
General Comments 0
You need to be logged in to leave comments. Login now