[Zope-Checkins] SVN: Zope/trunk/lib/python/ New import locations
for zope.app.traversing
Philipp von Weitershausen
philikon at philikon.de
Tue May 2 06:14:25 EDT 2006
Log message for revision 67825:
New import locations for zope.app.traversing
Changed:
U Zope/trunk/lib/python/OFS/Traversable.py
U Zope/trunk/lib/python/Products/PageTemplates/Expressions.py
U Zope/trunk/lib/python/ZPublisher/BaseRequest.py
-=-
Modified: Zope/trunk/lib/python/OFS/Traversable.py
===================================================================
--- Zope/trunk/lib/python/OFS/Traversable.py 2006-05-02 09:57:17 UTC (rev 67824)
+++ Zope/trunk/lib/python/OFS/Traversable.py 2006-05-02 10:14:24 UTC (rev 67825)
@@ -25,20 +25,17 @@
from Acquisition import Acquired, aq_inner, aq_parent, aq_base
from zExceptions import NotFound
from ZODB.POSException import ConflictError
-from zope.interface import implements, Interface
+from OFS.interfaces import ITraversable
-from interfaces import ITraversable
-from zope.app.traversing.interfaces import ITraversable as IZope3Traversable
+from zope.interface import implements, Interface
from zope.component import queryMultiAdapter
-from zope.app.traversing.interfaces import TraversalError
-from zope.app.traversing.namespace import nsParse
-from zope.app.traversing.namespace import namespaceLookup
+from zope.traversing.interfaces import TraversalError
+from zope.traversing.namespace import nsParse, namespaceLookup
_marker = object()
class Traversable:
-
implements(ITraversable)
security = ClassSecurityInfo()
Modified: Zope/trunk/lib/python/Products/PageTemplates/Expressions.py
===================================================================
--- Zope/trunk/lib/python/Products/PageTemplates/Expressions.py 2006-05-02 09:57:17 UTC (rev 67824)
+++ Zope/trunk/lib/python/Products/PageTemplates/Expressions.py 2006-05-02 10:14:24 UTC (rev 67825)
@@ -250,11 +250,10 @@
from zope.interface import Interface, implements
from zope.component import queryMultiAdapter
-from zope.app.traversing.namespace import nsParse
-from zope.app.traversing.namespace import namespaceLookup
-from zope.app.traversing.interfaces import TraversalError
+from zope.traversing.interfaces import TraversalError
+from zope.traversing.namespace import nsParse, namespaceLookup
from zope.publisher.interfaces.browser import IBrowserRequest
-from zope.app.publication.browser import setDefaultSkin
+from zope.publisher.browser import setDefaultSkin
class FakeRequest(dict):
implements(IBrowserRequest)
Modified: Zope/trunk/lib/python/ZPublisher/BaseRequest.py
===================================================================
--- Zope/trunk/lib/python/ZPublisher/BaseRequest.py 2006-05-02 09:57:17 UTC (rev 67824)
+++ Zope/trunk/lib/python/ZPublisher/BaseRequest.py 2006-05-02 10:14:24 UTC (rev 67825)
@@ -29,9 +29,8 @@
from zope.component.interfaces import IDefaultViewName
from zope.publisher.interfaces.browser import IBrowserPublisher
from zope.publisher.interfaces.browser import IBrowserRequest
-from zope.app.traversing.interfaces import TraversalError
-from zope.app.traversing.namespace import nsParse
-from zope.app.traversing.namespace import namespaceLookup
+from zope.traversing.interfaces import TraversalError
+from zope.traversing.namespace import nsParse, namespaceLookup
UNSPECIFIED_ROLES=''
More information about the Zope-Checkins
mailing list