mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Drop get_profile_filename() from logparser.py
This function is unused since the last commit.
(cherry picked from commit ed692337a5
)
This commit is contained in:
parent
182c3e47fb
commit
49bb2d753e
1 changed files with 0 additions and 11 deletions
|
@ -449,14 +449,3 @@ class ReadLog:
|
|||
return True
|
||||
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue