[apparmor] [patch] Drop unused 'found' counter from aa.py ask_the_questions()
Seth Arnold
seth.arnold at canonical.com
Thu Oct 13 23:57:15 UTC 2016
On Fri, Oct 14, 2016 at 12:46:32AM +0200, Christian Boltz wrote:
> Hello,
>
> $subject.
>
>
> [ 02-drop-found-from-ask_the_questions.diff ]
Acked-by: Seth Arnold <seth.arnold at canonical.com>
Thanks
>
> === 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))
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161013/9952f039/attachment.pgp>
More information about the AppArmor
mailing list