25 Sep
2004
25 Sep
'04
6:28 p.m.
Richard Rosenberg wrote at 2004-9-24 22:21 +0000:
... class zBusView(SimpleItem): """A Business View Object""" meta_type = "zBusView" def __init__(self, id, title, connectionID): ... conn = getattr(self, cID) ... I initially thought the getattr() call would resolve upward in the object hierarchy,
It does indeed, but in "__init__" a new object is constructed. Therefore, this new object is not yet in the object hierarchy... -- Dieter