[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser -
resource.py:1.11
Jim Fulton
jim at zope.com
Fri Mar 5 17:09:45 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/publisher/browser
In directory cvs.zope.org:/tmp/cvs-serv15449/src/zope/app/publisher/browser
Modified Files:
resource.py
Log Message:
Renamed interface methods:
isImplementedByInstancesOf to implementedBy
isImplementedBy to providedBy
=== Zope3/src/zope/app/publisher/browser/resource.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/publisher/browser/resource.py:1.10 Fri Nov 21 12:10:28 2003
+++ Zope3/src/zope/app/publisher/browser/resource.py Fri Mar 5 17:09:14 2004
@@ -40,12 +40,12 @@
site = self.__parent__
while 1:
- if ISite.isImplementedBy(site):
+ if ISite.providedBy(site):
break
- if IContainmentRoot.isImplementedBy(site):
+ if IContainmentRoot.providedBy(site):
site = None
break
- if IResource.isImplementedBy(site) and site.__name__:
+ if IResource.providedBy(site) and site.__name__:
names.append(site.__name__)
site = site.__parent__
More information about the Zope3-Checkins
mailing list