##// END OF EJS Templates
error.LookupError: rename 'message' property to something else...
Siddharth Agarwal -
r24137:dcfdfd63 default
parent child Browse files
Show More
@@ -23,7 +23,9 b' class LookupError(RevlogError, KeyError)'
23 def __init__(self, name, index, message):
23 def __init__(self, name, index, message):
24 self.name = name
24 self.name = name
25 self.index = index
25 self.index = index
26 self.message = message
26 # this can't be called 'message' because at least some installs of
27 # Python 2.6+ complain about the 'message' property being deprecated
28 self.lookupmessage = message
27 if isinstance(name, str) and len(name) == 20:
29 if isinstance(name, str) and len(name) == 20:
28 from node import short
30 from node import short
29 name = short(name)
31 name = short(name)
General Comments 0
You need to be logged in to leave comments. Login now