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

Zope-CMF maillist  -  Zope-CMF@lists.zope.org

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to