On Sun, Feb 21, 2016 at 8:16 PM, Christian Boltz <[email protected]> wrote:
> Hello,
>
> $subject.
>
>
> [ 74-drop-unused-split_name.diff ]
>
> === modified file 'utils/apparmor/aa.py'
> --- utils/apparmor/aa.py 2016-02-20 12:32:36 +0000
> +++ utils/apparmor/aa.py 2016-02-21 14:43:21 +0000
> @@ -4317,12 +4317,6 @@
> else:
> return '%s^%s' % (name1, name2)
>
> -def split_name(name):
> - names = name.split('^')
> - if len(names) == 1:
> - return name, name
> - else:
> - return names[0], names[1]
> def commonprefix(new, old):
> match = re.search(r'^([^\0]*)[^\0]*(\0\1[^\0]*)*$', '\0'.join([new,
> old]))
> if match:
>
> Verified with grep.
Acked-by: Kshitij Gupta <[email protected]>
>
> Regards,
>
> Christian Boltz
> --
> NO' and 'YES' are short words which need long thoughts.
> Most of the troubles in life are the result of saying
> 'YES' too soon or 'NO' too late !!!
>
> --
> AppArmor mailing list
> [email protected]
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/apparmor
>
>
--
Regards,
Kshitij Gupta
--
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/apparmor