Skip to content
Snippets Groups Projects
Commit 40d85f83 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

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: default avatarRafael Guterres Jeffman <rjeffman@redhat.com>
parent 678927f3
No related branches found
No related tags found
No related merge requests found
...@@ -231,8 +231,6 @@ try: ...@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment