mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Fix error in AppArmorBug exception text
This commit is contained in:
parent
7f6ffd33b2
commit
5dc10264d2
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ def combine_profname(name_parts):
|
|||
"""combine name_parts (main profile, child) into a joint main//child profile name"""
|
||||
|
||||
if not isinstance(name_parts, list):
|
||||
raise AppArmorBug('combine_name() called with parameter of type %s, must be a list' % type(name_parts))
|
||||
raise AppArmorBug('combine_profname() called with parameter of type %s, must be a list' % type(name_parts))
|
||||
|
||||
# if last item is None, drop it (can happen when called with [profile, hat] when hat is None)
|
||||
if name_parts[len(name_parts)-1] is None:
|
||||
|
|
Loading…
Add table
Reference in a new issue