Show More
@@ -2822,8 +2822,10 b' class spanset(_orderedsetmixin):' | |||||
2822 | return abs(self._end - self._start) |
|
2822 | return abs(self._end - self._start) | |
2823 | else: |
|
2823 | else: | |
2824 | count = 0 |
|
2824 | count = 0 | |
|
2825 | start = self._start | |||
|
2826 | end = self._end | |||
2825 | for rev in self._hiddenrevs: |
|
2827 | for rev in self._hiddenrevs: | |
2826 | if self._contained(rev): |
|
2828 | if (end < rev <= start) or (start <= rev and rev < end): | |
2827 | count += 1 |
|
2829 | count += 1 | |
2828 | return abs(self._end - self._start) - count |
|
2830 | return abs(self._end - self._start) - count | |
2829 |
|
2831 |
General Comments 0
You need to be logged in to leave comments.
Login now