mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 22:35:35 +00:00
Drop get_profile_filename() from logparser.py
This function is unused since the last commit.
This commit is contained in:
@@ -450,14 +450,3 @@ class ReadLog:
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def get_profile_filename(self, profile):
|
|
||||||
"""Returns the full profile name"""
|
|
||||||
if profile.startswith('/'):
|
|
||||||
# Remove leading /
|
|
||||||
profile = profile[1:]
|
|
||||||
else:
|
|
||||||
profile = "profile_" + profile
|
|
||||||
profile = profile.replace('/', '.')
|
|
||||||
full_profilename = self.profile_dir + '/' + profile
|
|
||||||
return full_profilename
|
|
||||||
|
Reference in New Issue
Block a user