0013-misc-fix-consider-using-max-builtin-pylint-error-555.patch
chrono/interval.py | ||
---|---|---|
100 | 100 |
if previous_begin < begin: |
101 | 101 |
# but it does not include it, so replace if begin by previous.begin |
102 | 102 |
begin = previous_begin |
103 |
if end < previous_end: |
|
104 |
# [begin, end] is completely included in previous interval, |
|
105 |
# replace end by previous.end |
|
106 |
end = previous_end |
|
103 |
# [begin, end] is completely included in previous interval, |
|
104 |
# replace end by previous.end |
|
105 |
end = max(end, previous_end) |
|
107 | 106 |
break |
108 | 107 |
# merge with following |
109 | 108 |
while i < len(self.begin) and self.begin[i] <= end: |
110 |
- |