fix bug in calls to attributes
This commit is contained in:
parent
6f84cfd00c
commit
3223746ba8
|
@ -273,10 +273,10 @@ class InterfaceVector:
|
|||
self.add_av(av)
|
||||
|
||||
# Add typeattribute access
|
||||
if attributes != None:
|
||||
if attributes:
|
||||
for typeattribute in interface.typeattributes():
|
||||
for attr in typeattribute.attributes:
|
||||
if not attributes.attributes.has_key(attr):
|
||||
if not attributes.has_key(attr):
|
||||
# print "missing attribute " + attr
|
||||
continue
|
||||
attr_vec = attributes.attributes[attr]
|
||||
|
|
Loading…
Reference in New Issue