[CalendarServer-changes] [1835] CalendarServer/branches/release/CalendarServer-1.0-dev/twistedcaldav /itip.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 31 14:35:05 PDT 2007


Revision: 1835
          http://trac.macosforge.org/projects/calendarserver/changeset/1835
Author:   cdaboo at apple.com
Date:     2007-08-31 14:35:05 -0700 (Fri, 31 Aug 2007)

Log Message:
-----------
Pulled up r1834.

Modified Paths:
--------------
    CalendarServer/branches/release/CalendarServer-1.0-dev/twistedcaldav/itip.py

Modified: CalendarServer/branches/release/CalendarServer-1.0-dev/twistedcaldav/itip.py
===================================================================
--- CalendarServer/branches/release/CalendarServer-1.0-dev/twistedcaldav/itip.py	2007-08-31 17:40:21 UTC (rev 1834)
+++ CalendarServer/branches/release/CalendarServer-1.0-dev/twistedcaldav/itip.py	2007-08-31 21:35:05 UTC (rev 1835)
@@ -670,7 +670,15 @@
     delchild = collection.getChild(name)
     index = collection.index()
     index.deleteResource(delchild.fp.basename())
+    
+    def _deletedResourced(result):
+        # Change CTag on the parent calendar collection
+        collection.updateCTag()
+        
+        return result
+
     d = maybeDeferred(delete, "", delchild.fp, "0")
+    d.addCallback(_deletedResourced)
     return d
 
 def canAutoRespond(calendar):

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


More information about the calendarserver-changes mailing list