From bbf72baca12e38d407843dfdcdaa51b8913bfa54 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Thu, 31 Oct 2013 10:01:36 -0400 Subject: [PATCH] Add back attributes flag to fix exception crash. --- sepolgen/src/sepolgen/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sepolgen/src/sepolgen/interfaces.py b/sepolgen/src/sepolgen/interfaces.py index 3258684c..88a6dc30 100644 --- a/sepolgen/src/sepolgen/interfaces.py +++ b/sepolgen/src/sepolgen/interfaces.py @@ -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]