[Zope-CMF] Re: CVS: Products/CMFCore - CMFCatalogAware.py:1.21.2.9

yuppie y.2005- at wcm-solutions.de
Tue Apr 26 09:52:00 EDT 2005


Hi Florent!

Florent Guillaume wrote:
> Update of /cvs-repository/Products/CMFCore
> In directory cvs.zope.org:/tmp/cvs-serv9874/CMFCore
[...]
> -                ob = self.unrestrictedTraverse(brain_path, None)
> +                # Get the object
> +                if hasattr(aq_base(brain), '_unrestrictedGetObject'):
> +                    ob = brain._unrestrictedGetObject()
> +                else:
> +                    # BBB older Zope

Using 'BBB' should become part of the CMF checkin rules. But why didn't 
you add the Zope version? 'Older Zope' is not very useful if you grep 
for backwards compatibility cruft that can be removed.

Cheers, Yuppie



More information about the Zope-CMF mailing list