New import locations for zope.app.traversing

parent 5be4fbb9
...@@ -25,20 +25,17 @@ from AccessControl.ZopeGuards import guarded_getattr ...@@ -25,20 +25,17 @@ from AccessControl.ZopeGuards import guarded_getattr
from Acquisition import Acquired, aq_inner, aq_parent, aq_base from Acquisition import Acquired, aq_inner, aq_parent, aq_base
from zExceptions import NotFound from zExceptions import NotFound
from ZODB.POSException import ConflictError from ZODB.POSException import ConflictError
from zope.interface import implements, Interface from OFS.interfaces import ITraversable
from interfaces import ITraversable from zope.interface import implements, Interface
from zope.app.traversing.interfaces import ITraversable as IZope3Traversable
from zope.component import queryMultiAdapter from zope.component import queryMultiAdapter
from zope.app.traversing.interfaces import TraversalError from zope.traversing.interfaces import TraversalError
from zope.app.traversing.namespace import nsParse from zope.traversing.namespace import nsParse, namespaceLookup
from zope.app.traversing.namespace import namespaceLookup
_marker = object() _marker = object()
class Traversable: class Traversable:
implements(ITraversable) implements(ITraversable)
security = ClassSecurityInfo() security = ClassSecurityInfo()
......
...@@ -250,11 +250,10 @@ class NotExpr: ...@@ -250,11 +250,10 @@ class NotExpr:
from zope.interface import Interface, implements from zope.interface import Interface, implements
from zope.component import queryMultiAdapter from zope.component import queryMultiAdapter
from zope.app.traversing.namespace import nsParse from zope.traversing.interfaces import TraversalError
from zope.app.traversing.namespace import namespaceLookup from zope.traversing.namespace import nsParse, namespaceLookup
from zope.app.traversing.interfaces import TraversalError
from zope.publisher.interfaces.browser import IBrowserRequest from zope.publisher.interfaces.browser import IBrowserRequest
from zope.app.publication.browser import setDefaultSkin from zope.publisher.browser import setDefaultSkin
class FakeRequest(dict): class FakeRequest(dict):
implements(IBrowserRequest) implements(IBrowserRequest)
......
...@@ -29,9 +29,8 @@ from zope.publisher.interfaces import IPublishTraverse ...@@ -29,9 +29,8 @@ from zope.publisher.interfaces import IPublishTraverse
from zope.component.interfaces import IDefaultViewName from zope.component.interfaces import IDefaultViewName
from zope.publisher.interfaces.browser import IBrowserPublisher from zope.publisher.interfaces.browser import IBrowserPublisher
from zope.publisher.interfaces.browser import IBrowserRequest from zope.publisher.interfaces.browser import IBrowserRequest
from zope.app.traversing.interfaces import TraversalError from zope.traversing.interfaces import TraversalError
from zope.app.traversing.namespace import nsParse from zope.traversing.namespace import nsParse, namespaceLookup
from zope.app.traversing.namespace import namespaceLookup
UNSPECIFIED_ROLES='' UNSPECIFIED_ROLES=''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment