[Zope-dev] Re: ZCatalog getObject broken

Chris Withers chris at simplistix.co.uk
Wed Mar 16 05:18:42 EST 2005


Roché Compaan wrote:
> This is what I am arguing but I haven't had anybody agree/disagree with
> me yet. It is also a lot simpler to fix:
> 
> <     return self.aq_parent.restrictedTraverse(self.getPath(), None)
> ---
> 
>>    return self.aq_parent.unrestrictedTraverse(self.getPath(), None)

I don't really mind either, provided the ,None vanishes...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope-Dev mailing list