mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
pylint: Fix warning W0612(unused-variable)
New warnings were found by new pylint (2.5.3). Fixes: https://pagure.io/freeipa/issue/8468 Signed-off-by: Stanislav Levin <slev@altlinux.org> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
de105aa8fc
commit
6e85872528
@ -2077,8 +2077,6 @@ def install_check(options):
|
||||
cli_domain_source = 'Unknown source'
|
||||
cli_server_source = 'Unknown source'
|
||||
|
||||
fstore = sysrestore.FileStore(paths.IPA_CLIENT_SYSRESTORE)
|
||||
|
||||
if not os.getegid() == 0:
|
||||
raise ScriptError(
|
||||
"You must be root to run ipa-client-install.",
|
||||
@ -3200,8 +3198,6 @@ def _install(options):
|
||||
|
||||
|
||||
def uninstall_check(options):
|
||||
fstore = sysrestore.FileStore(paths.IPA_CLIENT_SYSRESTORE)
|
||||
|
||||
if not is_ipa_client_configured():
|
||||
if options.on_master:
|
||||
rval = SUCCESS
|
||||
|
Loading…
Reference in New Issue
Block a user