[CalendarServer-changes] [5096] CalendarServer/trunk/calendarserver/tools/gateway.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Feb 12 08:47:09 PST 2010


Revision: 5096
          http://trac.macosforge.org/projects/calendarserver/changeset/5096
Author:   sagen at apple.com
Date:     2010-02-12 08:47:09 -0800 (Fri, 12 Feb 2010)
Log Message:
-----------
When setting attributes, return only the attributes for that resource

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/tools/gateway.py

Modified: CalendarServer/trunk/calendarserver/tools/gateway.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/gateway.py	2010-02-12 16:12:33 UTC (rev 5095)
+++ CalendarServer/trunk/calendarserver/tools/gateway.py	2010-02-12 16:47:09 UTC (rev 5096)
@@ -211,7 +211,7 @@
         #     directory=self.dir)
         # principal.setAutoSchedule(command.get('AutoSchedule', False))
 
-        respondWithRecordsOfType(self.dir, command, "locations")
+        self.command_getLocationAttributes(command)
 
     def command_deleteLocation(self, command):
         kwargs = {}
@@ -263,7 +263,7 @@
         #     directory=self.dir)
         # principal.setAutoSchedule(command.get('AutoSchedule', False))
 
-        respondWithRecordsOfType(self.dir, command, "resources")
+        self.command_getResourceAttributes(command)
 
     def command_deleteResource(self, command):
         kwargs = {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100212/2605905f/attachment.html>


More information about the calendarserver-changes mailing list