mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Enable pylint unnecessary-pass check
Enables check and removes extra pass statement from code. Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
committed by
Jan Cholasta
parent
ded70b6c6e
commit
00fd28e026
@@ -1104,7 +1104,7 @@ class TrustDomainInstance(object):
|
||||
self._pipe.SetInformationTrustedDomain(trustdom_handle, lsa.LSA_TRUSTED_DOMAIN_INFO_INFO_EX, info)
|
||||
except RuntimeError as e:
|
||||
root_logger.error('unable to set trust to transitive: %s' % (str(e)))
|
||||
pass
|
||||
|
||||
if self.info['is_pdc']:
|
||||
self.update_ftinfo(another_domain)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user