[Zope3-dev] Bug or Feature?

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Apr 1 23:16:36 EST 2005


On Friday 18 March 2005 06:57, Sven Schomaker wrote:
> I wonder if zope.app.traversing.adapters.RootPhysicallyLocatable
>
>     def getNearestSite(self):
>         "See IPhysicallyLocatable"
>         return self
>
> shouldn't rather be
>
>     def getNearestSite(self):
>         "See IPhysicallyLocatable"
>         return self.context
>
> or am I mistaken?

You are right; I think the doc string in the `IPhysicallyLocatable` interface 
was also confusing.

I just fixed that in rev. 29831.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list