[CalendarServer-changes] [11761] CalendarServer/branches/users/gaya/sharedgroupfixes/txdav/carddav/ datastore/sql.py

source_changes at macosforge.org source_changes at macosforge.org
Sun Sep 29 16:15:28 PDT 2013


Revision: 11761
          http://trac.calendarserver.org//changeset/11761
Author:   gaya at apple.com
Date:     2013-09-29 16:15:28 -0700 (Sun, 29 Sep 2013)
Log Message:
-----------
add back AddressBook.bumpModified() to pass CardDAV/get.xml

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

Modified: CalendarServer/branches/users/gaya/sharedgroupfixes/txdav/carddav/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/gaya/sharedgroupfixes/txdav/carddav/datastore/sql.py	2013-09-29 05:51:43 UTC (rev 11760)
+++ CalendarServer/branches/users/gaya/sharedgroupfixes/txdav/carddav/datastore/sql.py	2013-09-29 23:15:28 UTC (rev 11761)
@@ -878,6 +878,14 @@
         returnValue(component)
 
 
+    @inlineCallbacks
+    def bumpModified(self):
+        if self._resourceID == self._home._resourceID:
+            returnValue((yield self._home.bumpModified()))
+        else:
+            returnValue((yield super(AddressBook, self).bumpModified()))
+
+
     @classmethod
     @inlineCallbacks
     def loadAllObjects(cls, home):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130929/a800ef40/attachment.html>


More information about the calendarserver-changes mailing list