[Zope-dev] Calling from an Overriding function
Itamar Shtull-Trauring
itamars@ibm.net
Sun, 28 Nov 1999 13:14:49 +0200
I'm trying to override manage_beforeDelete(self,item,container) in a python
class that
inherits CatalogAware.
The overriding manage_beforeDelete calls the base class function:
from Products.ZCatalog.CatalogAwareness import CatalogAware
class Workflow(CatalogAware):
def
manage_beforeDelete(self,item,container):
"""
"""
...
CatalogAware.manage_beforeDelete(self, item, container)
I get this error message:
Error Type: TypeError
Error Value: unbound method must be called with class instance 1st argument
--
Itamar S.T. itamars@ibm.net