main logo
Subject: Re: [dabo-dev] dabo Commit 1885
Author: Ed Leafe
Posted: 2006/01/31 20:16:45
 
View Entire Thread
New Search


On Jan 31, 2006, at 7:51 PM, Paul McNett wrote:

> $ python SimpleFormWithBizobj.py
> [snip]
> File "/home/pmcnett/projects/dabo/dabo/ui/uiwx/dPemMixin.py",
> line 192, in __getattr__
> ret = super(dPemMixin, self).__getattr__(att)
> AttributeError: 'super' object has no attribute '__getattr__'

OK, then what is the best way to handle this? Raise an attribute
error? Have the superclasses already had a crack at resolving this
reference before __getattr__ is called? The problem here is in the
line that references self.ToolBar, which doesn't yet exist. But
'ToolBar' is a property, so I don't understand why __getattr__ is
being called in the first place.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com





 
©2006 Ed Leafe
<-- Prior Message New Search Next Message -->