From edb874a2de4f7d26fb4180a86331e44df1c32fcc Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Fri, 14 Feb 2014 11:54:02 -0800 Subject: [PATCH] utils/apparmor/aa.py: fix confusion over name vs data structure --- utils/apparmor/aa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/apparmor/aa.py b/utils/apparmor/aa.py index b0584d8a9..9f37239dc 100644 --- a/utils/apparmor/aa.py +++ b/utils/apparmor/aa.py @@ -423,7 +423,7 @@ def create_new_profile(localfile): local_profile[hat]['flags'] = 'complain' created.append(localfile) - changed[local_profile] = True + changed[localfile] = True debug_logger.debug("Profile for %s:\n\t%s" % (localfile, local_profile.__str__())) return {localfile: local_profile}