[Zope] Re: manage_beforeDelete

Chris Withers chris at simplistix.co.uk
Tue Oct 10 06:48:52 EDT 2006

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 ;-)


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

More information about the Zope mailing list