[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces -
traversing.py:1.7
Christian Zagrodnick
cvs-admin at zope.org
Sun Dec 7 06:31:44 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/interfaces
In directory cvs.zope.org:/tmp/cvs-serv28276/src/zope/app/interfaces
Modified Files:
traversing.py
Log Message:
added getNearestSite to IPhysicallyLocatable (and implementations)
=== Zope3/src/zope/app/interfaces/traversing.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/interfaces/traversing.py:1.6 Fri Jun 13 13:41:18 2003
+++ Zope3/src/zope/app/interfaces/traversing.py Sun Dec 7 06:31:13 2003
@@ -53,6 +53,12 @@
"""Return the last segment of the physical path.
"""
+ def getNearestSite():
+ """Return the site the object is contained in
+
+ If the object is a site, self is returned.
+ """
+
class ITraversable(Interface):
"""To traverse an object, this interface must be provided"""
More information about the Zope3-Checkins
mailing list