On Jul 12, 2009, at 8:33 AM, Miguel Lopes wrote:

> Well, not much of an override!
>
>    def save(self, evt): self.super()

        That's your problem: you've overridden a framework method and changed  
the interface. Delete that and the error should go away.

        Also, the use of 'evt' indicates to me that you are using save() as  
an event handler. Don't confuse handlers with regular methods; it's  
typically better to do something like:

def onSave(self, evt):
        self.save()

        This way it is clear that onSave() is there to handle the event, and  
it handles it by calling the save() method.



-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to