Fix pep8 error, remove redundant var assignment

This commit is contained in:
beeankha
2020-08-20 15:41:51 -04:00
parent 0fd618d88b
commit 54317236f3
2 changed files with 5 additions and 3 deletions

View File

@@ -126,7 +126,6 @@ def main():
resource_data = {}
for param in resource_param_keys:
endpoint = module.param_to_endpoint(param)
name_field = 'username' if param == 'user' else 'name'
resource_name = params.get(param)
if resource_name: