[CalendarServer-changes] [3501] CalendarServer/trunk/twistedcaldav/resource.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Dec 10 10:50:15 PST 2008


Revision: 3501
          http://trac.macosforge.org/projects/calendarserver/changeset/3501
Author:   cdaboo at apple.com
Date:     2008-12-10 10:50:14 -0800 (Wed, 10 Dec 2008)
Log Message:
-----------
Fixed bug with delete of default calendar.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/resource.py

Modified: CalendarServer/trunk/twistedcaldav/resource.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/resource.py	2008-12-10 18:17:33 UTC (rev 3500)
+++ CalendarServer/trunk/twistedcaldav/resource.py	2008-12-10 18:50:14 UTC (rev 3501)
@@ -538,7 +538,7 @@
             if default and len(default.children) == 1:
                 defaultURL = normalizeURL(str(default.children[0]))
                 if normalizeURL(request.path) == defaultURL:
-                    yield inbox.writeProperty(caldavxml.ScheduleDefaultCalendarURL())               
+                    yield inbox.writeProperty(caldavxml.ScheduleDefaultCalendarURL(), request)               
 
     @inlineCallbacks
     def movedCalendar(self, request, destination, destination_uri):
@@ -564,7 +564,7 @@
             if default and len(default.children) == 1:
                 defaultURL = normalizeURL(str(default.children[0]))
                 if normalizeURL(request.path) == defaultURL:
-                    yield inbox.writeProperty(caldavxml.ScheduleDefaultCalendarURL(davxml.HRef(destination_path)))               
+                    yield inbox.writeProperty(caldavxml.ScheduleDefaultCalendarURL(davxml.HRef(destination_path)), request)               
 
     def isCalendarOpaque(self):
         
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081210/044b3aec/attachment.html>


More information about the calendarserver-changes mailing list