[CalendarServer-changes] [103] CalendarServer/branches/users/cdaboo/acl-merge/patches/Twisted/twisted.web2.dav.method.prop_common.patch

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 6 11:52:43 PDT 2006


Revision: 103
Author:   cdaboo at apple.com
Date:     2006-09-06 11:52:42 -0700 (Wed, 06 Sep 2006)

Log Message:
-----------
Minor clean-up.

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/acl-merge/patches/Twisted/twisted.web2.dav.method.prop_common.patch

Modified: CalendarServer/branches/users/cdaboo/acl-merge/patches/Twisted/twisted.web2.dav.method.prop_common.patch
===================================================================
--- CalendarServer/branches/users/cdaboo/acl-merge/patches/Twisted/twisted.web2.dav.method.prop_common.patch	2006-09-06 18:52:36 UTC (rev 102)
+++ CalendarServer/branches/users/cdaboo/acl-merge/patches/Twisted/twisted.web2.dav.method.prop_common.patch	2006-09-06 18:52:42 UTC (rev 103)
@@ -10,7 +10,15 @@
  from twisted.python import log
  from twisted.python.failure import Failure
  from twisted.web2 import responsecode
-@@ -56,7 +57,9 @@
+@@ -19,7 +20,6 @@
+ from twisted.web2.dav.element.base import WebDAVElement
+ from twisted.web2.dav.http import statusForFailure
+ from twisted.web2.dav.method.propfind import propertyName
+-from twisted.web2.dav.util import joinURL
+ 
+ # def applyToCollections(resource, request_uri, depth, apply):
+ #     """
+@@ -56,7 +56,9 @@
  def responseForHref(request, responses, href, resource, propertiesForResource, propertyreq):
  
      if propertiesForResource is not None:
@@ -21,7 +29,7 @@
          
          for status in properties_by_status:
              properties = properties_by_status[status]
-@@ -78,6 +81,8 @@
+@@ -78,6 +80,8 @@
              )
          )
  
@@ -30,7 +38,7 @@
  # def allPropertiesForResource(request, prop, resource):
  #     """
  #     Return all (non-hidden) properties for the specified resource.
-@@ -134,9 +139,15 @@
+@@ -134,9 +138,15 @@
          else:
              qname = property
      
@@ -48,7 +56,7 @@
              except:
                  f = Failure()
      
-@@ -149,4 +160,6 @@
+@@ -149,4 +159,6 @@
              log.err("Can't find property %r for resource %s" % (qname, request.uri))
              properties_by_status[responsecode.NOT_FOUND].append(propertyName(qname))
      

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


More information about the calendarserver-changes mailing list