[Zodb-checkins] CVS: Zope3/src/zodb/zeo - server.py:1.12

Steve Alexander steve at cat-box.net
Sat Jun 7 03:54:54 EDT 2003


Update of /cvs-repository/Zope3/src/zodb/zeo
In directory cvs.zope.org:/tmp/cvs-serv6903/src/zodb/zeo

Modified Files:
	server.py 
Log Message:
Removed use of old "from zope.interface.implements ..." api.


=== Zope3/src/zodb/zeo/server.py 1.11 => 1.12 ===
--- Zope3/src/zodb/zeo/server.py:1.11	Mon May 19 11:02:51 2003
+++ Zope3/src/zodb/zeo/server.py	Sat Jun  7 02:54:23 2003
@@ -44,7 +44,7 @@
 from zodb.utils import u64
 from zodb.ztransaction import Transaction
 
-from zope.interface.implements import objectImplements
+from zope.interface import providedBy
 
 from transaction.interfaces import TransactionError
 
@@ -176,7 +176,7 @@
         return {'name': self.storage.getName(),
                 'extensionMethods': self.getExtensionMethods(),
                  "implements": [iface.__name__
-                                for iface in objectImplements(self.storage)],
+                                for iface in providedBy(self.storage)],
                 }
 
     def getExtensionMethods(self):




More information about the Zodb-checkins mailing list