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:


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 !!!

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to