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>
This commit is contained in:
Martin Basti
2016-09-26 14:08:17 +02:00
parent 452b08754d
commit 0f88f8fe88
47 changed files with 54 additions and 69 deletions

View File

@@ -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')