mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge branch 'cboltz-status-parenthesis' into 'master'
aa-status: handle profile names containing '(' Closes #51 See merge request apparmor/apparmor!415 Acked-by: John Johansen <john.johansen@canonical.com> for 2.10..master
This commit is contained in:
commit
b76567ce10
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ def get_profiles():
|
|||
sys.exit(4)
|
||||
|
||||
for p in f.readlines():
|
||||
match = re.search("^([^\(]+)\s+\((\w+)\)$", p)
|
||||
match = re.search("^(.+)\s+\((\w+)\)$", p)
|
||||
profiles[match.group(1)] = match.group(2)
|
||||
|
||||
f.close()
|
||||
|
|
Loading…
Add table
Reference in a new issue