[CalendarServer-changes] [8281] CalendarServer/trunk/txdav/caldav/datastore/sql.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Nov 11 13:14:26 PST 2011


Revision: 8281
          http://trac.macosforge.org/projects/calendarserver/changeset/8281
Author:   wsanchez at apple.com
Date:     2011-11-11 13:14:25 -0800 (Fri, 11 Nov 2011)
Log Message:
-----------
Note some abstraction violations.

Modified Paths:
--------------
    CalendarServer/trunk/txdav/caldav/datastore/sql.py

Modified: CalendarServer/trunk/txdav/caldav/datastore/sql.py
===================================================================
--- CalendarServer/trunk/txdav/caldav/datastore/sql.py	2011-11-11 20:58:14 UTC (rev 8280)
+++ CalendarServer/trunk/txdav/caldav/datastore/sql.py	2011-11-11 21:14:25 UTC (rev 8281)
@@ -264,6 +264,7 @@
         return self._home
 
 
+    # FIXME: resource type is DAV.  This doesn't belong in the data store.  -wsv
     def resourceType(self):
         return ResourceType.calendar #@UndefinedVariable
 
@@ -303,6 +304,8 @@
             ),
         )
 
+    # FIXME: this is DAV-ish.  Data store calendar objects don't have
+    # mime types.  -wsv
     def contentType(self):
         """
         The content type of Calendar objects is text/calendar.
@@ -1023,6 +1026,7 @@
     def created(self):
         return self._created
 
+
     def modified(self):
         return self._modified
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20111111/c0524d65/attachment.html>


More information about the calendarserver-changes mailing list