mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
catch -> except
This commit is contained in:
@@ -449,7 +449,7 @@ class Job(UnifiedJob, JobOptions):
|
|||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
evars = json.loads(self.extra_vars)
|
evars = json.loads(self.extra_vars)
|
||||||
catch Exception, e:
|
except Exception, e:
|
||||||
return
|
return
|
||||||
evars.update(extra_data)
|
evars.update(extra_data)
|
||||||
self.update_fields(extra_vars=json.dumps(evars))
|
self.update_fields(extra_vars=json.dumps(evars))
|
||||||
|
|||||||
Reference in New Issue
Block a user