From 49f201e2b2523c83fa2b20fe91c91733e2ee947f Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Wed, 19 Oct 2016 16:38:49 +0200 Subject: [PATCH] client: remove unneded return from configure_ipa_conf Function always returns return code 0, and this code is even not used elsewehere. https://fedorahosted.org/freeipa/ticket/6392 Reviewed-By: Stanislav Laznicka --- ipaclient/install/client.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ipaclient/install/client.py b/ipaclient/install/client.py index aa1483494..876d57f75 100644 --- a/ipaclient/install/client.py +++ b/ipaclient/install/client.py @@ -390,8 +390,6 @@ def configure_ipa_conf( ipaconf.newConf(target_fname, opts) os.chmod(target_fname, 0o644) - return 0 - def disable_ra(): """Set the enable_ra option in /etc/ipa/default.conf to False