[Zope3-checkins] CVS: Zope3/src/zope/app/adapter - adapter.py:1.2 tests.py:1.2

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Mar 13 10:22:07 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/adapter
In directory cvs.zope.org:/tmp/cvs-serv16268/src/zope/app/adapter

Modified Files:
	adapter.py tests.py 
Log Message:


Adjusted imports of placefulsetup and site-related objects.




=== Zope3/src/zope/app/adapter/adapter.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/adapter/adapter.py:1.1	Mon Mar  8 14:40:25 2004
+++ Zope3/src/zope/app/adapter/adapter.py	Sat Mar 13 10:21:06 2004
@@ -28,7 +28,7 @@
 import zope.app.component.nextservice
 import zope.app.container.contained
 import zope.app.interfaces.services.registration
-import zope.app.interfaces.services.service
+import zope.app.site.interfaces
 import zope.app.security.permission
 import zope.app.services.registration
 import zope.component.interfaces
@@ -182,7 +182,7 @@
     """
 
     zope.interface.implements(
-        zope.app.interfaces.services.service.IBindingAware,
+        zope.app.site.interfaces.IBindingAware,
         )
 
     def __updateNext(self, servicename):
@@ -218,7 +218,7 @@
 
     zope.interface.implements(
         zope.component.interfaces.IAdapterService,
-        zope.app.interfaces.services.service.ISimpleService,
+        zope.app.site.interfaces.ISimpleService,
         )
 
     def __init__(self):


=== Zope3/src/zope/app/adapter/tests.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/adapter/tests.py:1.1	Mon Mar  8 14:40:25 2004
+++ Zope3/src/zope/app/adapter/tests.py	Sat Mar 13 10:21:07 2004
@@ -824,11 +824,11 @@
 
     Create a local service class, which must define setNext:
 
-    >>> import zope.app.interfaces.services.service
+    >>> import zope.app.site.interfaces
     >>> class LocalF(LocalAdapterBasedService):
     ...     zope.interface.implements(
     ...         IF2,
-    ...         zope.app.interfaces.services.service.ISimpleService,
+    ...         zope.app.site.interfaces.ISimpleService,
     ...         )
     ...     def setNext(self, next, global_):
     ...         self.next, self.global_ = next, global_




More information about the Zope3-Checkins mailing list