[apparmor] [patch] [33/38] Add cleanup flag to *Ruleset.add()
Christian Boltz
apparmor at cboltz.de
Tue Sep 27 21:30:04 UTC 2016
Hello,
Am Freitag, 12. August 2016, 23:06:08 CEST schrieb Christian Boltz:
> [ 33-ruleset-cleanup-duplicates-on-add.diff ]
>
> === modified file ./utils/apparmor/rule/__init__.py
> - def add(self, rule):
> - '''add a rule object'''
> + def add(self, rule, cleanup=False):
> + '''add a rule object
> + if cleanup is specified, delete rules that are covered by the new rules
I noticed a typo here - it should be "... the new rule", not "... the new rule_s_"
(only one rule gets added when add() is called).
If nobody objects, I'll fix this little typo before commiting.
Regards,
Christian Boltz
--
>> die Novell-Webseiten wissen noch gar nichts von SuSE 10
> Irgendwie müssen die geschlafen haben ;-)
Oder wir haben es nur noch nicht gefunden ;-)
[>>Thomas Hertweck, >Christian Boltz u. Sören Wengerowsky in suse-linux]
-------------- 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/20160927/f64755fa/attachment.pgp>
More information about the AppArmor
mailing list