[Zope3-checkins] CVS: Zope3/src/zope/app/content - __init__.py:1.6

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


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

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

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy


=== Zope3/src/zope/app/content/__init__.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/content/__init__.py:1.5	Tue Mar  2 13:16:12 2004
+++ Zope3/src/zope/app/content/__init__.py	Fri Mar  5 17:09:00 2004
@@ -70,7 +70,7 @@
     
     object_iro = providedBy(object).__iro__
     for iface in object_iro:
-        if IContentType.isImplementedBy(iface):
+        if IContentType.providedBy(iface):
             return iface
         
     return None




More information about the Zope3-Checkins mailing list