[CalendarServer-changes] [159] CalendarServer/branches/users/cdaboo/quota/lib-patches/Twisted/twisted.web2.dav.method.proppatch.patch

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 19 14:17:32 PDT 2006


Revision: 159
Author:   cdaboo at apple.com
Date:     2006-09-19 14:17:30 -0700 (Tue, 19 Sep 2006)

Log Message:
-----------
Fix for bug with undoing a change to an existing resource.

Added Paths:
-----------
    CalendarServer/branches/users/cdaboo/quota/lib-patches/Twisted/twisted.web2.dav.method.proppatch.patch

Added: CalendarServer/branches/users/cdaboo/quota/lib-patches/Twisted/twisted.web2.dav.method.proppatch.patch
===================================================================
--- CalendarServer/branches/users/cdaboo/quota/lib-patches/Twisted/twisted.web2.dav.method.proppatch.patch	                        (rev 0)
+++ CalendarServer/branches/users/cdaboo/quota/lib-patches/Twisted/twisted.web2.dav.method.proppatch.patch	2006-09-19 21:17:30 UTC (rev 159)
@@ -0,0 +1,13 @@
+Index: twisted/web2/dav/method/proppatch.py
+===================================================================
+--- twisted/web2/dav/method/proppatch.py	(revision 18208)
++++ twisted/web2/dav/method/proppatch.py	(working copy)
+@@ -105,7 +105,7 @@
+                 if has:
+                     oldProperty = waitForDeferred(self.readProperty(property, request))
+                     yield oldProperty
+-                    oldProperty.getResult()
++                    oldProperty = oldProperty.getResult()
+ 
+                     def undo():
+                         return self.writeProperty(oldProperty, request)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20060919/35561369/attachment.html


More information about the calendarserver-changes mailing list