[Zope-dev] zope.traversing's ILocation behavior

Gary Poster gary.poster at gmail.com
Thu Jul 8 13:18:20 EDT 2010


On Jul 8, 2010, at 11:04 AM, Martijn Faassen wrote:
> 
> I propose the following adjustment:
> 
>   try:
>      container = context.__parent__
>   except AttributeError:
>      container = ILocation(context).__parent__

+1

Gary


More information about the Zope-Dev mailing list