[apparmor] [patch] Drop unused 'found' counter from aa.py ask_the_questions()
Christian Boltz
apparmor at cboltz.de
Thu Oct 13 22:46:32 UTC 2016
Hello,
$subject.
[ 02-drop-found-from-ask_the_questions.diff ]
=== modified file ./utils/apparmor/aa.py
--- utils/apparmor/aa.py 2016-10-14 00:36:13.314062783 +0200
+++ utils/apparmor/aa.py 2016-10-14 00:44:09.427840713 +0200
@@ -1517,7 +1517,6 @@
return globs
def ask_the_questions():
- found = 0
for aamode in sorted(log_dict.keys()):
# Describe the type of changes
if aamode == 'PERMITTING':
@@ -1534,8 +1533,6 @@
if p:
UI_SelectUpdatedRepoProfile(profile, p)
- found += 1
-
sev_db.unload_variables()
sev_db.load_variables(get_profile_filename(profile))
Regards,
Christian Boltz
--
In asynchron-verteilten Umgebungen mußt Du gegen jede einzelne Regel
Deiner Datenbankvorlesung verstoßen. [Kris Köhntopp]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161014/8923eba7/attachment.pgp>
More information about the AppArmor
mailing list