]> granicus.if.org Git - python/commitdiff
Some objects could have uninitialized attributes. Fixed.
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 29 Jan 2003 10:39:19 +0000 (10:39 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 29 Jan 2003 10:39:19 +0000 (10:39 +0000)
Lib/plat-mac/aetypes.py

index d376e74f50718af92e8a8c553291ea378d504151..ac339e72d04a549b11cb8a1a0d54131391732ba3 100644 (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: