[Zope-Checkins] CVS: Zope3/lib/python/Zope/ObjectHub - ObjectHub.py:1.1.2.6
Jim Fulton
jim@zope.com
Tue, 5 Mar 2002 16:43:23 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/ObjectHub
In directory cvs.zope.org:/tmp/cvs-serv2132/Zope/ObjectHub
Modified Files:
Tag: Zope-3x-branch
ObjectHub.py
Log Message:
Hold on to your butts!
Major refactoring of Interface package to clean up the interfaces and
module structure.
Note especially, to verify interface implementstions,
use verifyObject or verifyClass from the Interface.Verify module:
from Interface.Verify import verifyClass
verifyClass(ISomeInterface, SomeClass)
=== Zope3/lib/python/Zope/ObjectHub/ObjectHub.py 1.1.2.5 => 1.1.2.6 ===
from Zope.Exceptions import NotFoundError
from Persistence import Persistent
-from Interface import objectImplements
+from Interface.Implements import objectImplements
from types import StringTypes
from Persistence.BTrees.IOBTree import IOBTree
from Persistence.BTrees.OIBTree import OIBTree