[Zope3-checkins] CVS: Zope3/src/zope/app/traversing - __init__.py:1.22

Jim Fulton jim@zope.com
Tue, 3 Jun 2003 15:43:45 -0400


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

Modified Files:
	__init__.py 
Log Message:
Integrated traversal API into zope.app.zapi.


=== Zope3/src/zope/app/traversing/__init__.py 1.21 => 1.22 ===
--- Zope3/src/zope/app/traversing/__init__.py:1.21	Tue May 27 10:18:27 2003
+++ Zope3/src/zope/app/traversing/__init__.py	Tue Jun  3 15:43:45 2003
@@ -16,13 +16,16 @@
 
 $Id$
 """
+
+from zope.interface import moduleProvides
 from zope.component import getAdapter
 from zope.app.interfaces.traversing import IObjectName, IContainmentRoot
 from zope.app.interfaces.traversing import ITraverser, IPhysicallyLocatable
+from zope.app.interfaces.traversing import ITraversalAPI
 from zope.context import getWrapperContainer, isWrapper
 
-__all__ = ['traverse', 'traverseName', 'objectName', 'getParent',
-           'getParents', 'getPath', 'getRoot', 'canonicalPath', 'joinPath']
+moduleProvides(ITraversalAPI)
+__all__ = tuple(ITraversalAPI)
 
 _marker = object()