[Zope3-checkins] CVS: Zope3/src/zope/app/index/field - index.py:1.3.10.1

Grégoire Weber zope@i-con.ch
Sun, 22 Jun 2003 10:24:10 -0400


Update of /cvs-repository/Zope3/src/zope/app/index/field
In directory cvs.zope.org:/tmp/cvs-serv24874/src/zope/app/index/field

Modified Files:
      Tag: cw-mail-branch
	index.py 
Log Message:
Synced up with HEAD

=== Zope3/src/zope/app/index/field/index.py 1.3 => 1.3.10.1 ===
--- Zope3/src/zope/app/index/field/index.py:1.3	Thu May  1 15:35:19 2003
+++ Zope3/src/zope/app/index/field/index.py	Sun Jun 22 10:23:08 2003
@@ -23,9 +23,10 @@
 
 from zope.component import getService
 from zope.app.services.servicenames import HubIds
-from zope.proxy.context import ContextMethod
+from zope.context import ContextMethod
 from zope.app.interfaces.event import ISubscriber
 from zope.fieldindex.fieldindex import FieldIndex as FieldIndexWrapper
+from zope.interface import implements
 
 from zope.app.interfaces.services.hub import \
      IRegistrationHubEvent, \
@@ -37,8 +38,7 @@
 
 class FieldIndex(FieldIndexWrapper):
 
-    __implements__ = (FieldIndexWrapper.__implements__,
-                      ISubscriber, IUIFieldIndex)
+    implements(ISubscriber, IUIFieldIndex)
 
     def __init__(self, indexed_attr):
         FieldIndexWrapper.__init__(self)