[CalendarServer-changes] [806]
CalendarServer/branches/users/wsanchez/dropbox/twistedcaldav
source_changes at macosforge.org
source_changes at macosforge.org
Tue Dec 12 09:06:56 PST 2006
Revision: 806
http://trac.macosforge.org/projects/calendarserver/changeset/806
Author: cdaboo at apple.com
Date: 2006-12-12 09:06:56 -0800 (Tue, 12 Dec 2006)
Log Message:
-----------
Fix ace modifications.
Modified Paths:
--------------
CalendarServer/branches/users/wsanchez/dropbox/twistedcaldav/dropbox.py
CalendarServer/branches/users/wsanchez/dropbox/twistedcaldav/resource.py
Modified: CalendarServer/branches/users/wsanchez/dropbox/twistedcaldav/dropbox.py
===================================================================
--- CalendarServer/branches/users/wsanchez/dropbox/twistedcaldav/dropbox.py 2006-12-12 15:36:41 UTC (rev 805)
+++ CalendarServer/branches/users/wsanchez/dropbox/twistedcaldav/dropbox.py 2006-12-12 17:06:56 UTC (rev 806)
@@ -79,7 +79,9 @@
if TwistedACLInheritable() not in ace.children:
children = list(ace.children)
children.append(TwistedACLInheritable())
- edited_aces.append(davxml.ACE(children))
+ edited_aces.append(davxml.ACE(*children))
+ else:
+ edited_aces.append(ace)
# Do inherited with possibly modified set of aces
super(DropBoxCollectionResource, self).writeNewACEs(edited_aces)
Modified: CalendarServer/branches/users/wsanchez/dropbox/twistedcaldav/resource.py
===================================================================
--- CalendarServer/branches/users/wsanchez/dropbox/twistedcaldav/resource.py 2006-12-12 15:36:41 UTC (rev 805)
+++ CalendarServer/branches/users/wsanchez/dropbox/twistedcaldav/resource.py 2006-12-12 17:06:56 UTC (rev 806)
@@ -454,7 +454,9 @@
if TwistedACLInheritable() not in ace.children:
children = list(ace.children)
children.append(TwistedACLInheritable())
- edited_aces.append(davxml.ACE(children))
+ edited_aces.append(davxml.ACE(*children))
+ else:
+ edited_aces.append(ace)
else:
edited_aces = newaces
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061212/285c173a/attachment.html
More information about the calendarserver-changes
mailing list