mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
linting
This commit is contained in:
@@ -366,7 +366,7 @@ class TowerAPIModule(TowerModule):
|
||||
if auto_exit:
|
||||
self.exit_json(**self.json_output)
|
||||
else:
|
||||
return self.json_output #########
|
||||
return self.json_output
|
||||
else:
|
||||
if 'json' in response and '__all__' in response['json']:
|
||||
self.fail_json(msg="Unable to delete {0} {1}: {2}".format(item_type, item_name, response['json']['__all__'][0]))
|
||||
|
||||
Reference in New Issue
Block a user