]> git.k1024.org Git - pylibacl.git/commit
Stop duplicating permset initialisation
authorIustin Pop <iustin@k1024.org>
Fri, 29 Nov 2019 13:54:23 +0000 (14:54 +0100)
committerIustin Pop <iustin@k1024.org>
Fri, 29 Nov 2019 13:54:23 +0000 (14:54 +0100)
commit11bc30ffbe24d3d1be56d4f5c79e781026459be2
treec99dfb94f9670e44e87d20346f6c5aa16d1fa103
parent4988d25084eae57d63b16a6bccb4b3e0f7042e3c
Stop duplicating permset initialisation

A permset can be initalised either via `__init__ ` or by getting
`parent.permset` getter. The latter duplicates the logic in the
former, which is not good as hacks into the internals of the permset.

Remove the duplication by just calling explicitly permset(self) and
returning the value of it.
acl.c