mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
Fix superclass syntax for < Python3
This commit is contained in:
@@ -422,12 +422,12 @@ class TowerModule(AnsibleModule):
|
||||
def fail_json(self, **kwargs):
|
||||
# Try to logout if we are authenticated
|
||||
self.logout()
|
||||
super().fail_json(**kwargs)
|
||||
super(TowerModule, self).fail_json(**kwargs)
|
||||
|
||||
def exit_json(self, **kwargs):
|
||||
# Try to logout if we are authenticated
|
||||
self.logout()
|
||||
super().exit_json(**kwargs)
|
||||
super(TowerModule, self).exit_json(**kwargs)
|
||||
|
||||
def is_job_done(self, job_status):
|
||||
if job_status in ['new', 'pending', 'waiting', 'running']:
|
||||
|
||||
Reference in New Issue
Block a user