[apparmor] [patch] delete unused map_log_mode() in aamode.py
Christian Boltz
apparmor at cboltz.de
Sat Nov 29 20:45:23 UTC 2014
Hello,
aamode.py contains an unused function map_log_mode().
grep didn't find any usage of this function in the bzr checkout,
therefore this patch deletes it.
[ aamode.py--delete_map_log_mode.diff ]
=== modified file 'utils/apparmor/aamode.py'
--- utils/apparmor/aamode.py 2014-11-29 08:15:17 +0000
+++ utils/apparmor/aamode.py 2014-11-29 20:41:57 +0000
@@ -137,9 +137,6 @@
mode = mode.replace('::', '')
return mode
-def map_log_mode(mode):
- return mode
-
def print_mode(mode):
user, other = split_mode(mode)
string = sub_mode_to_str(user) + '::' + sub_mode_to_str(other)
Regards,
Christian Boltz
--
> [qpopper] Jepp. Den einzurichten, dauert max. 10 Min. Und ist absolut
> pflegeleicht. ;)
Hm... womit verbringst Du denn die letzten neun Minuten? Oder kommt hier
ein 286er zum Einsatz? [> Michael Raab und Andreas Feile in suse-linux]
More information about the AppArmor
mailing list