mirror of
https://github.com/ansible/awx.git
synced 2026-02-17 19:20:05 -03:30
Fix pep8 error, remove redundant var assignment
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user