mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-25 04:26:28 +00:00
PermListModel: Fix bug in creating permission set intersection.
ObjClass.perms is now a frozenset, so it can't be updated.
This commit is contained in:
parent
ce15d9b218
commit
17a20a596a
@ -124,7 +124,7 @@ class PermListModel(SEToolsListModel):
|
||||
|
||||
# create intersection
|
||||
for cls in classes:
|
||||
cls_perms = cls.perms
|
||||
cls_perms = set(cls.perms)
|
||||
|
||||
with suppress(NoCommon):
|
||||
cls_perms.update(cls.common.perms)
|
||||
|
Loading…
Reference in New Issue
Block a user