2015-05-17 | Paul Boddie | raw files shortlog changelog graph | Removed a method testing whether an object provides a given recurrence. | |
imiptools/data.py (file) |
1.1 --- a/imiptools/data.py Sun May 17 19:31:54 2015 +0200 1.2 +++ b/imiptools/data.py Sun May 17 21:22:50 2015 +0200 1.3 @@ -123,10 +123,6 @@ 1.4 1.5 # Computed results. 1.6 1.7 - def has_recurrence(self, tzid, recurrence): 1.8 - recurrences = [p.get_start() for p in get_periods(self, tzid, recurrence, inclusive=True)] 1.9 - return recurrence in recurrences 1.10 - 1.11 def get_periods(self, tzid, end): 1.12 return get_periods(self, tzid, end) 1.13