mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
pylint: workaround incorrect pylint detection of a local function
pylint 2.9 thinks that __add_principal is a class-level method that is unused. It is a local function inside one of class methods and is used directly inside that method. Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
parent
c93fa491f6
commit
39a4d78527
@ -993,6 +993,7 @@ class DsInstance(service.Service):
|
||||
|
||||
def __setup_s4u2proxy(self):
|
||||
|
||||
# pylint: disable=unused-private-member
|
||||
def __add_principal(last_cn, principal, self):
|
||||
dn = DN(('cn', last_cn), ('cn', 's4u2proxy'),
|
||||
('cn', 'etc'), self.suffix)
|
||||
|
Loading…
Reference in New Issue
Block a user