[Zope3-checkins] CVS: Zope3/src/zope/app - location.py:1.7
Christian Zagrodnick
cvs-admin at zope.org
Sun Dec 7 07:56:49 EST 2003
Update of /cvs-repository/Zope3/src/zope/app
In directory cvs.zope.org:/tmp/cvs-serv15078/src/zope/app
Modified Files:
location.py
Log Message:
returning the site instead of the adapter
=== Zope3/src/zope/app/location.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/location.py:1.6 Sun Dec 7 06:31:13 2003
+++ Zope3/src/zope/app/location.py Sun Dec 7 07:56:49 2003
@@ -202,7 +202,7 @@
def getNearestSite(self):
"return the nearest site, see IPhysicallyLocatable"
if ISite.isImplementedBy(self.context):
- return self
+ return self.context
for parent in zapi.getParents(self.context):
if ISite.isImplementedBy(parent):
return parent
More information about the Zope3-Checkins
mailing list