[Zope3-checkins] CVS: Zope3/src/zodb/zeo - server.py:1.12
Steve Alexander
steve@cat-box.net
Sat, 7 Jun 2003 02:54:54 -0400
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):