##// END OF EJS Templates
parsers: adjust pure-python version to mimic a3dacabd476b...
Augie Fackler -
r39082:a1f93457 default
parent child Browse files
Show More
@@ -52,7 +52,7 b' class BaseIndexObject(object):'
52 return i
52 return i
53
53
54 def __getitem__(self, i):
54 def __getitem__(self, i):
55 if i == -1 or i == len(self):
55 if i == -1:
56 return (0, 0, 0, -1, -1, -1, -1, nullid)
56 return (0, 0, 0, -1, -1, -1, -1, nullid)
57 i = self._fix_index(i)
57 i = self._fix_index(i)
58 if i >= self._lgt:
58 if i >= self._lgt:
General Comments 0
You need to be logged in to leave comments. Login now