[Zope3-checkins] CVS: Zope3/src/zope/app/traversing - adapters.py:1.16

Christian Zagrodnick cvs-admin at zope.org
Sun Dec 7 06:31:44 EST 2003


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

Modified Files:
	adapters.py 
Log Message:
added getNearestSite to IPhysicallyLocatable (and implementations)


=== Zope3/src/zope/app/traversing/adapters.py 1.15 => 1.16 ===
--- Zope3/src/zope/app/traversing/adapters.py:1.15	Sun Sep 21 13:31:14 2003
+++ Zope3/src/zope/app/traversing/adapters.py	Sun Dec  7 06:31:13 2003
@@ -84,6 +84,11 @@
         "See IPhysicallyLocatable"
         return u''
 
+    def getNearestSite(self):
+        "See IPhysicallyLocatable"
+        return self
+
+
 class Traverser:
     """Provide traverse features"""
 




More information about the Zope3-Checkins mailing list