[CalendarServer-changes] [5765] CalendarServer/branches/new-store/twistedcaldav/static.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jun 16 18:17:49 PDT 2010
Revision: 5765
http://trac.macosforge.org/projects/calendarserver/changeset/5765
Author: cdaboo at apple.com
Date: 2010-06-16 18:17:46 -0700 (Wed, 16 Jun 2010)
Log Message:
-----------
Handle a GET on the __uids__ resource itself.
Modified Paths:
--------------
CalendarServer/branches/new-store/twistedcaldav/static.py
Modified: CalendarServer/branches/new-store/twistedcaldav/static.py
===================================================================
--- CalendarServer/branches/new-store/twistedcaldav/static.py 2010-06-17 01:07:41 UTC (rev 5764)
+++ CalendarServer/branches/new-store/twistedcaldav/static.py 2010-06-17 01:17:46 UTC (rev 5765)
@@ -901,7 +901,11 @@
def locateChild(self, request, segments):
+
name = segments[0]
+ if name == "":
+ return (self, ())
+
record = self.directory.recordWithUID(name)
return (self.homeResourceForRecord(record, request), segments[1:])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100616/9f6c70bd/attachment-0001.html>
More information about the calendarserver-changes
mailing list