[CalendarServer-changes] [8329] CalendarServer/branches/users/glyph/multiget-delete/txdav

source_changes at macosforge.org source_changes at macosforge.org
Fri Nov 18 10:14:30 PST 2011


Revision: 8329
          http://trac.macosforge.org/projects/calendarserver/changeset/8329
Author:   glyph at apple.com
Date:     2011-11-18 10:14:30 -0800 (Fri, 18 Nov 2011)
Log Message:
-----------
explicitly document the failure mode

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/multiget-delete/txdav/caldav/icalendarstore.py
    CalendarServer/branches/users/glyph/multiget-delete/txdav/carddav/iaddressbookstore.py

Modified: CalendarServer/branches/users/glyph/multiget-delete/txdav/caldav/icalendarstore.py
===================================================================
--- CalendarServer/branches/users/glyph/multiget-delete/txdav/caldav/icalendarstore.py	2011-11-18 18:14:20 UTC (rev 8328)
+++ CalendarServer/branches/users/glyph/multiget-delete/txdav/caldav/icalendarstore.py	2011-11-18 18:14:30 UTC (rev 8329)
@@ -368,6 +368,10 @@
         """
         Retrieve the calendar component for this calendar object.
 
+        @raise ConcurrentModification: if this L{ICalendarObject} has been
+            deleted and committed by another transaction between its creation
+            and the first call to this method.
+
         @return: a C{VCALENDAR} L{VComponent}.
         """
 

Modified: CalendarServer/branches/users/glyph/multiget-delete/txdav/carddav/iaddressbookstore.py
===================================================================
--- CalendarServer/branches/users/glyph/multiget-delete/txdav/carddav/iaddressbookstore.py	2011-11-18 18:14:20 UTC (rev 8328)
+++ CalendarServer/branches/users/glyph/multiget-delete/txdav/carddav/iaddressbookstore.py	2011-11-18 18:14:30 UTC (rev 8329)
@@ -254,6 +254,10 @@
         """
         Retrieve the addressbook component for this addressbook object.
 
+        @raise ConcurrentModification: if this L{IAddressBookObject} has been
+            deleted and committed by another transaction between its creation
+            and the first call to this method.
+
         @return: a C{VCARD} L{VComponent}.
         """
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20111118/c3df0ef3/attachment-0001.html>


More information about the calendarserver-changes mailing list