[CalendarServer-changes] [946]
CalendarServer/branches/users/cdaboo/cuproxy-857/twistedcaldav/
directory/principal.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jan 5 13:39:58 PST 2007
Revision: 946
http://trac.macosforge.org/projects/calendarserver/changeset/946
Author: cdaboo at apple.com
Date: 2007-01-05 13:39:57 -0800 (Fri, 05 Jan 2007)
Log Message:
-----------
Principal resources are now collections.
Modified Paths:
--------------
CalendarServer/branches/users/cdaboo/cuproxy-857/twistedcaldav/directory/principal.py
Modified: CalendarServer/branches/users/cdaboo/cuproxy-857/twistedcaldav/directory/principal.py
===================================================================
--- CalendarServer/branches/users/cdaboo/cuproxy-857/twistedcaldav/directory/principal.py 2007-01-05 21:20:18 UTC (rev 945)
+++ CalendarServer/branches/users/cdaboo/cuproxy-857/twistedcaldav/directory/principal.py 2007-01-05 21:39:57 UTC (rev 946)
@@ -112,7 +112,7 @@
path = None
if path:
- segments = [unquote(s) for s in path.split("/")]
+ segments = [unquote(s) for s in path.rstrip("/").split("/")]
if segments[0] == "" and len(segments) == 3:
typeResource = self.getChild(segments[1])
if typeResource is not None:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070105/444c708f/attachment.html
More information about the calendarserver-changes
mailing list