2017-10-16 | Paul Boddie | raw files shortlog changelog graph | Fixed the specific recurrence result for the updated periods computation. | client-editing-simplification |
imiptools/data.py (file) |
1.1 --- a/imiptools/data.py Mon Oct 16 19:15:44 2017 +0200 1.2 +++ b/imiptools/data.py Mon Oct 16 19:19:01 2017 +0200 1.3 @@ -379,7 +379,10 @@ 1.4 original = self.get_periods(start, end) 1.5 1.6 if self.get_recurrenceid(): 1.7 - return original 1.8 + updated = [] 1.9 + for p in original: 1.10 + updated.append((p, p)) 1.11 + return updated 1.12 1.13 # Parent objects need to have their periods tested against redefined 1.14 # recurrences.