[Zope3-checkins] CVS: Zope3/src/zope/app/wiki - wikipage.py:1.5

Jim Fulton jim at zope.com
Fri Mar 5 17:09:52 EST 2004


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

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

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy


=== Zope3/src/zope/app/wiki/wikipage.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/wiki/wikipage.py:1.4	Wed Mar  3 05:38:57 2004
+++ Zope3/src/zope/app/wiki/wikipage.py	Fri Mar  5 17:09:22 2004
@@ -216,14 +216,14 @@
 
     def notify(self, event):
         """See zope.app.event.interfaces.ISubscriber"""
-        if IWikiPage.isImplementedBy(event.object):
-            if IObjectAddedEvent.isImplementedBy(event):
+        if IWikiPage.providedBy(event.object):
+            if IObjectAddedEvent.providedBy(event):
                 self.handleAdded(event.object)
 
-            elif IObjectModifiedEvent.isImplementedBy(event):
+            elif IObjectModifiedEvent.providedBy(event):
                 self.handleModified(event.object)
 
-            elif IObjectRemovedEvent.isImplementedBy(event):
+            elif IObjectRemovedEvent.providedBy(event):
                 self.handleRemoved(event.object)
 
     def handleAdded(self, object):




More information about the Zope3-Checkins mailing list