[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - objecthubsetup.py:1.11
Steve Alexander
steve@cat-box.net
Fri, 6 Jun 2003 15:43:27 -0400
Update of /cvs-repository/Zope3/src/zope/app/services/tests
In directory cvs.zope.org:/tmp/cvs-serv10072/src/zope/app/services/tests
Modified Files:
objecthubsetup.py
Log Message:
__implements__ --> implements()
=== Zope3/src/zope/app/services/tests/objecthubsetup.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/services/tests/objecthubsetup.py:1.10 Thu May 1 15:35:35 2003
+++ Zope3/src/zope/app/services/tests/objecthubsetup.py Fri Jun 6 15:42:56 2003
@@ -25,11 +25,13 @@
from zope.app.interfaces.event import IObjectAddedEvent
from zope.app.interfaces.event import ISubscriber
+from zope.interface import implements
+
class LoggingSubscriber:
# XXX Jim mentioned there is a new generic
# version of this in zope.app somewhere...
- __implements__ = ISubscriber
+ implements(ISubscriber)
def __init__(self):
self.events_received = []