Add back attributes flag to fix exception crash.
PATCH 1/1 Add back attributes flag to fix exception crash.
sepolgen-ifgen is currently broken.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
PATCH 1/10 Add back attributes flag to fix exception crash.
--- sepolgen/src/sepolgen/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sepolgen/src/sepolgen/interfaces.py +1 -1
@@ -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]
Signature · 7 lines
1.8.3.1 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 9 lines · Dan Walsh
--- sepolgen/src/sepolgen/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sepolgen/src/sepolgen/interfaces.py +0
-0
sepolgen/src/sepolgen/interfaces.py class InterfaceVector: · line 282
Quoted 8 lines
sepolgen/src/sepolgen/interfaces.py +1
-1@@ -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]
I pushed this as sepolgen-1.2.1.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.