[Zope3-checkins] CVS: Zope3/src/zope/app/tests - setup.py:1.19
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat Mar 13 13:01:54 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/tests
In directory cvs.zope.org:/tmp/cvs-serv27233/src/zope/app/tests
Modified Files:
setup.py
Log Message:
Moved registration code to zope.app.registration. Created module aliases, so
that old ZODBs work.
=== Zope3/src/zope/app/tests/setup.py 1.18 => 1.19 ===
--- Zope3/src/zope/app/tests/setup.py:1.18 Sat Mar 13 10:21:36 2004
+++ Zope3/src/zope/app/tests/setup.py Sat Mar 13 13:01:23 2004
@@ -70,9 +70,9 @@
#------------------------------------------------------------------------
# Use registration
-from zope.app.interfaces.services.registration import IAttributeRegisterable
-from zope.app.interfaces.services.registration import IRegistered
-from zope.app.services.registration import Registered
+from zope.app.registration.interfaces import IAttributeRegisterable
+from zope.app.registration.interfaces import IRegistered
+from zope.app.registration.registration import Registered
def setUpRegistered():
ztapi.provideAdapter(IAttributeRegisterable, IRegistered,
Registered)
@@ -137,7 +137,7 @@
return zapi.traverse(folder, "++etc++site")
from zope.app.site.service import ServiceRegistration
-from zope.app.interfaces.services.registration import ActiveStatus
+from zope.app.registration.interfaces import ActiveStatus
def addService(servicemanager, name, service, suffix=''):
"""Add a service to a service manager
More information about the Zope3-Checkins
mailing list