Some objects could have uninitialized attributes. Fixed.

This commit is contained in:
Jack Jansen 2003-01-29 10:39:19 +00:00
parent cbdffcee62
commit 0502d89b49
1 changed files with 2 additions and 0 deletions

View File

@ -521,6 +521,8 @@ class ComponentItem(SelectableItem):
def __init__(self, which, fr = None):
SelectableItem.__init__(self, self.want, which, fr)
self._propdict = {}
self._elemdict = {}
def __repr__(self):
if not self.fr: