[Checkins] SVN: five.localsitemanager/trunk/s - IContainmentRoot is now IRoot

Yvo Schubbe y.2010 at wcm-solutions.de
Fri Jun 18 05:25:00 EDT 2010


Log message for revision 113611:
  - IContainmentRoot is now IRoot

Changed:
  U   five.localsitemanager/trunk/setup.py
  U   five.localsitemanager/trunk/src/five/localsitemanager/utils.py

-=-
Modified: five.localsitemanager/trunk/setup.py
===================================================================
--- five.localsitemanager/trunk/setup.py	2010-06-18 07:16:42 UTC (rev 113610)
+++ five.localsitemanager/trunk/setup.py	2010-06-18 09:24:59 UTC (rev 113611)
@@ -36,7 +36,6 @@
           'zope.lifecycleevent',
           'zope.site',
           'zope.testing',
-          'zope.traversing',
           'Zope2 >= 2.12.0',
           ],
       zip_safe = False,

Modified: five.localsitemanager/trunk/src/five/localsitemanager/utils.py
===================================================================
--- five.localsitemanager/trunk/src/five/localsitemanager/utils.py	2010-06-18 07:16:42 UTC (rev 113610)
+++ five.localsitemanager/trunk/src/five/localsitemanager/utils.py	2010-06-18 09:24:59 UTC (rev 113611)
@@ -1,4 +1,4 @@
-from zope.traversing.interfaces import IContainmentRoot
+from zope.location.interfaces import IRoot
 
 from Acquisition import aq_parent, aq_inner
 
@@ -11,7 +11,7 @@
     Raises TypeError if the object doesn't have enough context to get the
     parent.
     """
-    if IContainmentRoot.providedBy(obj):
+    if IRoot.providedBy(obj):
         return None
 
     parent = aq_parent(aq_inner(obj))



More information about the checkins mailing list