fix bug in calls to attributes
This commit is contained in:
parent
6f84cfd00c
commit
3223746ba8
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue