Tres Seaver wrote:
class Test(CatalogAware, , OrderedFolder):
    def manage_beforeDelete(self, item, container):
        CatalogAware.manage_beforeDelete(item, container)
        OrderedFolder.manage_beforeDelete(item, container)

Seeing code like this reminds me why we have events...

They're now available in Zope 2, so use them ;-)

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to