summaryrefslogtreecommitdiffstats
path: root/ipaclient/plugins/vault.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-09-26 14:08:17 +0200
committerMartin Basti <mbasti@redhat.com>2016-09-27 13:35:58 +0200
commit0f88f8fe889ae4801fc8d5ece1ad51c5246718ac (patch)
tree4f38fb6210abaa9f354353df2abda96d1b8fb612 /ipaclient/plugins/vault.py
parent452b08754d02b89c0e3117b83d9156e6110943c9 (diff)
downloadfreeipa-0f88f8fe889ae4801fc8d5ece1ad51c5246718ac.tar.gz
freeipa-0f88f8fe889ae4801fc8d5ece1ad51c5246718ac.tar.xz
freeipa-0f88f8fe889ae4801fc8d5ece1ad51c5246718ac.zip
Remove unused variables in the code
This commit removes unused variables or rename variables as "expected to be unused" by using "_" prefix. This covers only cases where fix was easy or only one unused variable was in a module Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Diffstat (limited to 'ipaclient/plugins/vault.py')
-rw-r--r--ipaclient/plugins/vault.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/ipaclient/plugins/vault.py b/ipaclient/plugins/vault.py
index 08bbeb50f..b8b4f2916 100644
--- a/ipaclient/plugins/vault.py
+++ b/ipaclient/plugins/vault.py
@@ -629,9 +629,6 @@ class vault_archive(Local):
return self.api.Command.vault_archive_internal.output()
def forward(self, *args, **options):
-
- name = args[-1]
-
data = options.get('data')
input_file = options.get('in')
@@ -883,9 +880,6 @@ class vault_retrieve(Local):
return self.api.Command.vault_retrieve_internal.output()
def forward(self, *args, **options):
-
- name = args[-1]
-
output_file = options.get('out')
password = options.get('password')