mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-25 00:44:42 +00:00
Fix linter issues related to 'global'
This patch fixes an issue reported by flake8 7.2.0 and enables a pylint test that was disable, both related to the use of 'global'. Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
This commit is contained in:
@@ -231,8 +231,6 @@ try:
|
|||||||
cli_realm, cli_domain, cli_server, cli_kdc, dnsok,
|
cli_realm, cli_domain, cli_server, cli_kdc, dnsok,
|
||||||
filename, client_domain, client_hostname, force=False,
|
filename, client_domain, client_hostname, force=False,
|
||||||
configure_sssd=True):
|
configure_sssd=True):
|
||||||
# pylint: disable=global-variable-not-assigned
|
|
||||||
global options
|
|
||||||
options.force = force
|
options.force = force
|
||||||
options.sssd = configure_sssd
|
options.sssd = configure_sssd
|
||||||
return ipa_client_install.configure_krb5_conf(
|
return ipa_client_install.configure_krb5_conf(
|
||||||
|
|||||||
Reference in New Issue
Block a user