mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-29 16:52:45 +00:00
Add back attributes flag to fix exception crash.
This commit is contained in:
parent
0135eaa24f
commit
bbf72baca1
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user