[CalendarServer-changes] [9828] CalendarServer/trunk/twistedcaldav/ical.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Sep 20 09:21:15 PDT 2012


Revision: 9828
          http://trac.calendarserver.org//changeset/9828
Author:   cdaboo at apple.com
Date:     2012-09-20 09:21:15 -0700 (Thu, 20 Sep 2012)
Log Message:
-----------
Fix for recurrence where two exceptions are 365 days apart.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/ical.py

Modified: CalendarServer/trunk/twistedcaldav/ical.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/ical.py	2012-09-20 16:17:47 UTC (rev 9827)
+++ CalendarServer/trunk/twistedcaldav/ical.py	2012-09-20 16:21:15 UTC (rev 9828)
@@ -1148,7 +1148,7 @@
         # Checked for cached values first
         if hasattr(self, "cachedInstances"):
             cachedLimit = self.cachedInstances.limit
-            if cachedLimit is None or cachedLimit >= limit:
+            if cachedLimit is None or cachedLimit > limit:
                 # We have already fully expanded, or cached up to the requested time,
                 # so return cached instances
                 return self.cachedInstances
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120920/e77c84c6/attachment.html>


More information about the calendarserver-changes mailing list