Add back attributes flag to fix exception crash.

This commit is contained in:
Dan Walsh 2013-10-31 10:01:36 -04:00 committed by Stephen Smalley
parent 0135eaa24f
commit bbf72baca1
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ class InterfaceVector:
if attributes:
for typeattribute in interface.typeattributes():
for attr in typeattribute.attributes:
if not attributes.has_key(attr):
if not attributes.attributes.has_key(attr):
# print "missing attribute " + attr
continue
attr_vec = attributes.attributes[attr]