[apparmor] [patch] Fix typo in CapabilityRule exception message
Christian Boltz
apparmor at cboltz.de
Fri Apr 17 20:47:39 UTC 2015
Hallo,
see $subject ;-)
[ capability-rule-fix-typo.diff ]
=== modified file 'utils/apparmor/rule/capability.py'
--- utils/apparmor/rule/capability.py 2015-01-16 13:59:49 +0000
+++ utils/apparmor/rule/capability.py 2015-04-17 20:33:17 +0000
@@ -114,7 +114,7 @@
'''compare if rule-specific variables are equal'''
if not type(rule_obj) == CapabilityRule:
- raise AppArmorBug('Passes non-capability rule: %s' % str(rule_obj))
+ raise AppArmorBug('Passed non-capability rule: %s' % str(rule_obj))
if (self.capability != rule_obj.capability
or self.all_caps != rule_obj.all_caps):
Regards,
Christian Boltz
--
Und das, was das Administrator-Handbuch (SuSE 9.0) dafür hergibt, liest
sich wie ein Backrezept nach folgendem Muster: nehmem sie Mehl, Zucker
und Milch und stellen Sie es in den Ofen ;-) [Enrico Kunz in suse-linux]
More information about the AppArmor
mailing list