From 2211e9a6fafb4ea86053ad1cd1951c1c2d45f430 Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Wed, 2 Mar 2016 17:26:33 +0100 Subject: Remove unused arguments from update_ssh_keys method First argumet has been unused and can be safely removed, because server is not used for nsupdate anymore Reviewed-By: David Kupka --- client/ipa-client-install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'client') diff --git a/client/ipa-client-install b/client/ipa-client-install index 44ddeb956..48c325f53 100755 --- a/client/ipa-client-install +++ b/client/ipa-client-install @@ -1776,7 +1776,8 @@ def check_ip_addresses(options): return False return True -def update_ssh_keys(server, hostname, ssh_dir, create_sshfp): + +def update_ssh_keys(hostname, ssh_dir, create_sshfp): if not os.path.isdir(ssh_dir): return @@ -2887,7 +2888,8 @@ def install(options, env, fstore, statestore): configure_certmonger(fstore, subject_base, cli_realm, hostname, options, ca_enabled) - update_ssh_keys(cli_server[0], hostname, services.knownservices.sshd.get_config_dir(), options.create_sshfp) + update_ssh_keys(hostname, services.knownservices.sshd.get_config_dir(), + options.create_sshfp) try: os.remove(CCACHE_FILE) -- cgit