mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 11:50:42 -03:30
catch -> except
This commit is contained in:
parent
786cc3fa85
commit
25f8034b79
@ -449,7 +449,7 @@ class Job(UnifiedJob, JobOptions):
|
||||
return
|
||||
try:
|
||||
evars = json.loads(self.extra_vars)
|
||||
catch Exception, e:
|
||||
except Exception, e:
|
||||
return
|
||||
evars.update(extra_data)
|
||||
self.update_fields(extra_vars=json.dumps(evars))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user