1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00

Leave another TODO on the job runner, fix a misspelling on the project update hook

This commit is contained in:
Matthew Jones 2014-01-27 12:20:21 -05:00
parent 5c076529c0
commit db14daf5e5

View File

@ -343,6 +343,7 @@ class Job(CommonTask):
opts = dict([(field, kwargs.get(field, '')) for field in needed])
if not all(opts.values()):
return False
# TODO: This is temporary to allow a dependent task to continue
self.status = 'waiting'
self.save(update_fields=['status'])
transaction.commit()