mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 15:13:50 -06:00
trust: handle stray pylint warning
We only get to this code path when running in the server context. At that point _bindings_installed will be defined. Pylint cannot track this and always fails with this check. Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Thomas Woerner <twoerner@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
This commit is contained in:
parent
08f1e6f2fd
commit
b6131b5737
@ -241,6 +241,7 @@ def verify_samba_component_presence(ldap, api):
|
||||
)
|
||||
|
||||
# We're ok in this case, bail out
|
||||
# pylint: disable-next=used-before-assignment
|
||||
if adtrust_present and _bindings_installed:
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user