forked from openkylin/platform_build
DO NOT MERGE Monotonic flag sets incorrectly in rangelib
am: 8d11597558
* commit '8d1159755849ffcc1bd5c0de2821a4f5fe4ea58d':
DO NOT MERGE Monotonic flag sets incorrectly in rangelib
Change-Id: Ie0180bab1d41d86d3d2c3f14501b51b50f74635e
This commit is contained in:
commit
8ae473d182
|
@ -88,7 +88,7 @@ class RangeSet(object):
|
||||||
if last <= s:
|
if last <= s:
|
||||||
last = s+1
|
last = s+1
|
||||||
else:
|
else:
|
||||||
monotonic = True
|
monotonic = False
|
||||||
data.sort()
|
data.sort()
|
||||||
self.data = tuple(self._remove_pairs(data))
|
self.data = tuple(self._remove_pairs(data))
|
||||||
self.monotonic = monotonic
|
self.monotonic = monotonic
|
||||||
|
|
Loading…
Reference in New Issue