<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 21, 2016 at 8:16 PM, Christian Boltz <span dir="ltr"><<a href="mailto:apparmor@cboltz.de" target="_blank">apparmor@cboltz.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
$subject.<br>
<br>
<br>
[ 74-drop-unused-split_name.diff ]<br>
<br>
=== modified file 'utils/apparmor/aa.py'<br>
--- utils/apparmor/aa.py        2016-02-20 12:32:36 +0000<br>
+++ utils/apparmor/aa.py        2016-02-21 14:43:21 +0000<br>
@@ -4317,12 +4317,6 @@<br>
     else:<br>
         return '%s^%s' % (name1, name2)<br>
<br>
-def split_name(name):<br>
-    names = name.split('^')<br>
-    if len(names) == 1:<br>
-        return name, name<br>
-    else:<br>
-        return names[0], names[1]<br>
 def commonprefix(new, old):<br>
     match = re.search(r'^([^\0]*)[^\0]*(\0\1[^\0]*)*$', '\0'.join([new, old]))<br>
     if match:<br>
<br></blockquote><div>Verified with grep.<br><br>Acked-by: Kshitij Gupta <<a href="mailto:kgupta8592@gmail.com" target="_blank">kgupta8592@gmail.com</a>>   <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Regards,<br>
<br>
Christian Boltz<br>
<span class=""><font color="#888888">--<br>
NO' and 'YES' are short words which need long thoughts.<br>
Most of the troubles in life are the result of saying<br>
'YES' too soon or 'NO' too late !!!<br>
</font></span><br>--<br>
AppArmor mailing list<br>
<a href="mailto:AppArmor@lists.ubuntu.com">AppArmor@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/apparmor" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/apparmor</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Regards,<br><br></div>Kshitij Gupta<br></div></div>
</div></div>