From 0bea6c4ed948e69cf2f2cf926e28428ac52e4318 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Tue, 27 Jul 2021 18:48:08 +0300 Subject: [PATCH] pylint: Clean up __convert_to_gssapi_replication __convert_to_gssapi_replication has been added in a0bfbec19 and then removed in ce2bb47cc without clean up. Found by Pylint: ``` ipaserver/install/krbinstance.py:589: [W0238(unused-private-member), KrbInstance.__convert_to_gssapi_replication] Unused private member `KrbInstance.__convert_to_gssapi_replication(self)`) ``` Fixes: https://pagure.io/freeipa/issue/9117 Signed-off-by: Stanislav Levin Reviewed-By: Rob Crittenden --- ipaserver/install/krbinstance.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ipaserver/install/krbinstance.py b/ipaserver/install/krbinstance.py index 852edcd99..01b3309d5 100644 --- a/ipaserver/install/krbinstance.py +++ b/ipaserver/install/krbinstance.py @@ -605,14 +605,6 @@ class KrbInstance(service.Service): except errors.AlreadyActive: pass - def __convert_to_gssapi_replication(self): - repl = replication.ReplicationManager(self.realm, - self.fqdn, - self.dm_password) - repl.convert_to_gssapi_replication(self.master_fqdn, - r_binddn=DN(('cn', 'Directory Manager')), - r_bindpw=self.dm_password) - def stop_tracking_certs(self): certmonger.stop_tracking(certfile=paths.KDC_CERT)