##// END OF EJS Templates
revset: fixed sorting issue with spanset...
Lucas Moscovicz -
r20718:d7b7ec04 default
parent child Browse files
Show More
@@ -2530,8 +2530,7 b' class spanset(object):'
2530 return l[x]
2530 return l[x]
2531
2531
2532 def sort(self, reverse=False):
2532 def sort(self, reverse=False):
2533 # Basic implementation to be changed in future patches.
2533 if bool(reverse) != (self._start > self._end):
2534 if reverse:
2535 self.reverse()
2534 self.reverse()
2536
2535
2537 def reverse(self):
2536 def reverse(self):
General Comments 0
You need to be logged in to leave comments. Login now