Log message for revision 126684:
  - updated imports

Changed:
  U   Zope/trunk/src/OFS/interfaces.py
  U   Zope/trunk/src/Products/Five/component/__init__.py
  U   Zope/trunk/src/Products/Five/component/component.txt
  U   Zope/trunk/src/Products/Five/component/configure.zcml
  U   Zope/trunk/src/Products/Five/component/interfaces.py
  U   Zope/trunk/src/Products/Five/component/makesite.txt

-=-
Modified: Zope/trunk/src/OFS/interfaces.py
===================================================================
--- Zope/trunk/src/OFS/interfaces.py    2012-06-08 00:41:18 UTC (rev 126683)
+++ Zope/trunk/src/OFS/interfaces.py    2012-06-08 09:28:39 UTC (rev 126684)
@@ -13,10 +13,10 @@
 """OFS interfaces.
 """
 
+from zope.component.interfaces import IPossibleSite
 from zope.container.interfaces import IContainer
 from zope.interface import Attribute
 from zope.interface import Interface
-from zope.location.interfaces import IPossibleSite
 from zope.location.interfaces import IRoot
 from zope.schema import Bool, BytesLine, Tuple
 
@@ -567,7 +567,7 @@
         """
 
     def manage_exportObject(id='', download=None, toxml=None,
-                            RESPONSE=None,REQUEST=None):
+                            RESPONSE=None, REQUEST=None):
         """Exports an object to a file and returns that file."""
 
     def manage_importObject(file, REQUEST=None, set_owner=1):

Modified: Zope/trunk/src/Products/Five/component/__init__.py
===================================================================
--- Zope/trunk/src/Products/Five/component/__init__.py  2012-06-08 00:41:18 UTC 
(rev 126683)
+++ Zope/trunk/src/Products/Five/component/__init__.py  2012-06-08 09:28:39 UTC 
(rev 126684)
@@ -14,11 +14,12 @@
 """Five local component look-up support
 """
 
-import zope.interface
 import zope.component
 import zope.event
+import zope.interface
 from zope.component.interfaces import IComponentLookup
-from zope.location.interfaces import ISite, IPossibleSite
+from zope.component.interfaces import IPossibleSite
+from zope.component.interfaces import ISite
 from zope.traversing.interfaces import BeforeTraverseEvent
 
 import ExtensionClass

Modified: Zope/trunk/src/Products/Five/component/component.txt
===================================================================
--- Zope/trunk/src/Products/Five/component/component.txt        2012-06-08 
00:41:18 UTC (rev 126683)
+++ Zope/trunk/src/Products/Five/component/component.txt        2012-06-08 
09:28:39 UTC (rev 126684)
@@ -19,8 +19,8 @@
 Now we create a site object with a stub component registry:
 
   >>> from OFS.ObjectManager import ObjectManager
+  >>> from zope.component.interfaces import ISite
   >>> from zope.interface import alsoProvides
-  >>> from zope.location.interfaces import ISite
 
   >>> components = object()
   >>> site = ObjectManager()

Modified: Zope/trunk/src/Products/Five/component/configure.zcml
===================================================================
--- Zope/trunk/src/Products/Five/component/configure.zcml       2012-06-08 
00:41:18 UTC (rev 126683)
+++ Zope/trunk/src/Products/Five/component/configure.zcml       2012-06-08 
09:28:39 UTC (rev 126684)
@@ -4,7 +4,7 @@
   <adapter factory=".siteManagerAdapter" />
 
   <subscriber
-      for="zope.location.interfaces.ISite
+      for="zope.component.interfaces.ISite
            zope.traversing.interfaces.IBeforeTraverseEvent"
       handler="zope.site.site.threadSiteSubscriber"
       />

Modified: Zope/trunk/src/Products/Five/component/interfaces.py
===================================================================
--- Zope/trunk/src/Products/Five/component/interfaces.py        2012-06-08 
00:41:18 UTC (rev 126683)
+++ Zope/trunk/src/Products/Five/component/interfaces.py        2012-06-08 
09:28:39 UTC (rev 126684)
@@ -14,8 +14,10 @@
 """Component interfaces
 """
 
-from zope.location.interfaces import ISite
+from zope.component.interfaces import ISite
 from OFS.interfaces import IObjectManager
 
+
 class IObjectManagerSite(IObjectManager, ISite):
+
     """Object manager that is also a site."""

Modified: Zope/trunk/src/Products/Five/component/makesite.txt
===================================================================
--- Zope/trunk/src/Products/Five/component/makesite.txt 2012-06-08 00:41:18 UTC 
(rev 126683)
+++ Zope/trunk/src/Products/Five/component/makesite.txt 2012-06-08 09:28:39 UTC 
(rev 126684)
@@ -48,7 +48,7 @@
 
 Now we ensure that the folder has been turned into a site:
 
-    >>> from zope.location.interfaces import ISite
+    >>> from zope.component.interfaces import ISite
     >>> ISite.providedBy(app.folder)
     True
 

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to