22 Aug
2001
22 Aug
'01
5:04 p.m.
When I do that I get
Error Type: TypeError Error Value: unbound Python method must be called with Photo 1st argument
Okay, I see, it can't work like I said. You should do: class CImageObject(Photo.Photo): _old_tag = Photo.Photo.inheritedAttribute('tag') def tag(self, REQUEST=None, display=None, pdcookie=None, height=None, width=None, alt=None, **args): # ... self._old_tag(REQUEST,display,pdcookie,height,width,alt,args) Cheers, Florent Guillaume Nuxeo