[Zope3-checkins] CVS: Zope3/src/zope/app/dav - propfind.py:1.15

Jim Fulton jim at zope.com
Fri Mar 5 17:10:03 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/dav
In directory cvs.zope.org:/tmp/cvs-serv15449/src/zope/app/dav

Modified Files:
	propfind.py 
Log Message:
Renamed interface methods:

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy


=== Zope3/src/zope/app/dav/propfind.py 1.14 => 1.15 ===
--- Zope3/src/zope/app/dav/propfind.py:1.14	Wed Mar  3 12:06:30 2004
+++ Zope3/src/zope/app/dav/propfind.py	Fri Mar  5 17:09:01 2004
@@ -42,7 +42,7 @@
     def PROPFIND(self):
         request = self.request
         resource_url = str(zapi.getView(self.context, 'absolute_url', request))
-        if IReadContainer.isImplementedBy(self.context):
+        if IReadContainer.providedBy(self.context):
             resource_url = resource_url + '/'
         data = request.bodyFile
         data.seek(0)
@@ -164,7 +164,7 @@
         if depth == 'infinity':
             subdepth = 'infinity'
         if depth != '0':
-            if IReadContainer.isImplementedBy(self.context):
+            if IReadContainer.providedBy(self.context):
                 for id, obj in self.context.items():
                     pfind = zapi.queryView(obj, 'PROPFIND', self.request, None)
                     if pfind is not None:




More information about the Zope3-Checkins mailing list