[CalendarServer-changes] [5738] CalendarServer/branches/new-store/twistedcaldav/index.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Jun 15 11:52:25 PDT 2010


Revision: 5738
          http://trac.macosforge.org/projects/calendarserver/changeset/5738
Author:   glyph at apple.com
Date:     2010-06-15 11:52:22 -0700 (Tue, 15 Jun 2010)
Log Message:
-----------
This check is unhelpful, it just requires more of the pseudo-resource backing

Modified Paths:
--------------
    CalendarServer/branches/new-store/twistedcaldav/index.py

Modified: CalendarServer/branches/new-store/twistedcaldav/index.py
===================================================================
--- CalendarServer/branches/new-store/twistedcaldav/index.py	2010-06-15 18:29:06 UTC (rev 5737)
+++ CalendarServer/branches/new-store/twistedcaldav/index.py	2010-06-15 18:52:22 UTC (rev 5738)
@@ -1025,14 +1025,6 @@
     """
     Schedule collection index - does not require UID uniqueness.
     """
-    def __init__(self, resource):
-        """
-        @param resource: the L{twistedcaldav.static.CalDAVFile} resource to
-            index. C{resource} must be a calendar collection (i.e.
-            C{resource.isPseudoCalendarCollection()} returns C{True}.)
-        """
-        assert resource.isPseudoCalendarCollection() and not resource.isCalendarCollection(), "non-calendar collection resource %s has no index." % (resource,)
-        super(IndexSchedule, self).__init__(resource)
 
     def reserveUID(self, uid): #@UnusedVariable
         """
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100615/4b96c7bd/attachment.html>


More information about the calendarserver-changes mailing list