[CalendarServer-changes] [10923] CalendarServer/branches/users/gaya/sharedgroups/txdav/carddav/ datastore/sql.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Mar 14 12:43:14 PDT 2013


Revision: 10923
          http://trac.calendarserver.org//changeset/10923
Author:   gaya at apple.com
Date:     2013-03-14 12:43:14 -0700 (Thu, 14 Mar 2013)
Log Message:
-----------
Better comments

Modified Paths:
--------------
    CalendarServer/branches/users/gaya/sharedgroups/txdav/carddav/datastore/sql.py

Modified: CalendarServer/branches/users/gaya/sharedgroups/txdav/carddav/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/gaya/sharedgroups/txdav/carddav/datastore/sql.py	2013-03-14 17:29:55 UTC (rev 10922)
+++ CalendarServer/branches/users/gaya/sharedgroups/txdav/carddav/datastore/sql.py	2013-03-14 19:43:14 UTC (rev 10923)
@@ -960,18 +960,18 @@
                 adjustedReadWriteGroupIDs = readWriteGroupIDs
             returnValue((tuple(adjustedReadOnlyGroupIDs), tuple(adjustedReadWriteGroupIDs)))
 
-    ''' unused
+    #FIXME: Unused
     @inlineCallbacks
     def readOnlyGroupIDs(self):
         returnValue((yield self.accessControlGroupIDs())[0])
-    '''
 
+
     @inlineCallbacks
     def readWriteGroupIDs(self):
         returnValue((yield self.accessControlGroupIDs())[1])
 
 
-    ''' unused: may be good for future caching
+    #FIXME: Unused:  Use for caching access
     @inlineCallbacks
     def accessControlObjectIDs(self):
         readOnlyIDs = set()
@@ -1004,22 +1004,25 @@
         returnValue(tuple(readOnlyIDs), tuple(readWriteIDs))
 
 
+    #FIXME: Unused:  Use for caching access
     @inlineCallbacks
     def readOnlyObjectIDs(self):
         returnValue((yield self.accessControlObjectIDs())[1])
 
 
+    #FIXME: Unused:  Use for caching access
     @inlineCallbacks
     def readWriteObjectIDs(self):
         returnValue((yield self.accessControlObjectIDs())[1])
 
 
+    #FIXME: Unused:  Use for caching access
     @inlineCallbacks
     def allObjectIDs(self):
         readOnlyIDs, readWriteIDs = yield self.accessControlObjectIDs()
         returnValue((readOnlyIDs + readWriteIDs))
-    '''
 
+
     @inlineCallbacks
     def updateShare(self, shareeView, mode=None, status=None, message=None, name=None):
         """
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130314/94376cc9/attachment.html>


More information about the calendarserver-changes mailing list