[CalendarServer-changes] [84]
CalendarServer/branches/users/cdaboo/acl-merge/patches/Twisted/twisted.web2.dav.method.proppatch.patch
source_changes at macosforge.org
source_changes at macosforge.org
Wed Aug 30 10:16:40 PDT 2006
Revision: 84
Author: cdaboo at apple.com
Date: 2006-08-30 10:16:36 -0700 (Wed, 30 Aug 2006)
Log Message:
-----------
Fix proppatch remove of non-existent property.
Added Paths:
-----------
CalendarServer/branches/users/cdaboo/acl-merge/patches/Twisted/twisted.web2.dav.method.proppatch.patch
Added: CalendarServer/branches/users/cdaboo/acl-merge/patches/Twisted/twisted.web2.dav.method.proppatch.patch
===================================================================
--- CalendarServer/branches/users/cdaboo/acl-merge/patches/Twisted/twisted.web2.dav.method.proppatch.patch (rev 0)
+++ CalendarServer/branches/users/cdaboo/acl-merge/patches/Twisted/twisted.web2.dav.method.proppatch.patch 2006-08-30 17:16:36 UTC (rev 84)
@@ -0,0 +1,15 @@
+Index: twisted/web2/dav/method/proppatch.py
+===================================================================
+--- twisted/web2/dav/method/proppatch.py (revision 17951)
++++ twisted/web2/dav/method/proppatch.py (working copy)
+@@ -117,8 +117,8 @@
+ x = waitForDeferred(action(property, request))
+ yield x
+ x.getResult()
+- except ValueError, e:
+- # Convert ValueError exception into HTTPError
++ except KeyError, e:
++ # Convert KeyError exception into HTTPError
+ responses.add(
+ Failure(exc_value=HTTPError(StatusResponse(responsecode.FORBIDDEN, str(e)))),
+ property
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20060830/dd5c1fc5/attachment.html
More information about the calendarserver-changes
mailing list