[CalendarServer-changes] [227] CalendarServer/trunk/twistedcaldav/resource.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 2 18:49:00 PDT 2006


Revision: 227
          http://trac.macosforge.org/projects/calendarserver/changeset/227
Author:   wsanchez at apple.com
Date:     2006-10-02 18:48:59 -0700 (Mon, 02 Oct 2006)

Log Message:
-----------
Implement isFoo() accessors.

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

Modified: CalendarServer/trunk/twistedcaldav/resource.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/resource.py	2006-10-02 23:25:21 UTC (rev 226)
+++ CalendarServer/trunk/twistedcaldav/resource.py	2006-10-03 01:48:59 UTC (rev 227)
@@ -431,6 +431,15 @@
         # Register self with class
         CalendarPrincipalCollectionResource._principleCollectionSet[url] = self
 
+    def isCollection(self):
+        return True
+
+    def isCalendarCollection(self):
+        return False
+
+    def isPseudoCalendarCollection(self):
+        return False
+
     def findCalendarUser(self, request, address):
         """
         Find the calendar user principal associated with the specified calendar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061002/dd953a9b/attachment.html


More information about the calendarserver-changes mailing list