[CalendarServer-changes] [3836] CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/ Twisted/twisted.web2.dav.http.patch
source_changes at macosforge.org
source_changes at macosforge.org
Thu Mar 12 09:11:56 PDT 2009
Revision: 3836
http://trac.macosforge.org/projects/calendarserver/changeset/3836
Author: exarkun at twistedmatrix.com
Date: 2009-03-12 09:11:56 -0700 (Thu, 12 Mar 2009)
Log Message:
-----------
Remove error hunk; already in Twisted
Modified Paths:
--------------
CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.http.patch
Modified: CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.http.patch
===================================================================
--- CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.http.patch 2009-03-12 16:07:52 UTC (rev 3835)
+++ CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.http.patch 2009-03-12 16:11:56 UTC (rev 3836)
@@ -1,6 +1,6 @@
Index: twisted/web2/dav/http.py
===================================================================
---- twisted/web2/dav/http.py (revision 19773)
+--- twisted/web2/dav/http.py (revision 26343)
+++ twisted/web2/dav/http.py (working copy)
@@ -28,10 +28,13 @@
@@ -16,22 +16,8 @@
]
import errno
-@@ -69,10 +72,9 @@
- """
- if type(error) is tuple:
- xml_namespace, xml_name = error
-- class EmptyError (davxml.WebDAVEmptyElement):
-- namespace = xml_namespace
-- name = xml_name
-- error = EmptyError()
-+ error = davxml.WebDAVUnknownElement()
-+ error.namespace = xml_namespace
-+ error.name = xml_name
+@@ -226,7 +229,7 @@
- output = davxml.Error(error).toxml()
-
-@@ -227,7 +229,7 @@
-
if len(property.children) > 0:
# Re-instantiate as empty element.
- property = property.__class__()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090312/cbea0ba2/attachment.html>
More information about the calendarserver-changes
mailing list