mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
flake8
This commit is contained in:
parent
ea29e66a41
commit
2742b00a65
@ -156,11 +156,11 @@ class WorkflowDAG(SimpleDAG):
|
||||
if p.job:
|
||||
if p.job.status == 'successful':
|
||||
if node in (self.get_dependencies(p, 'success_nodes') +
|
||||
self.get_dependencies(p, 'always_nodes')):
|
||||
self.get_dependencies(p, 'always_nodes')):
|
||||
return False
|
||||
elif p.job.status == 'failed':
|
||||
if node in (self.get_dependencies(p, 'failure_nodes') +
|
||||
self.get_dependencies(p, 'always_nodes')):
|
||||
self.get_dependencies(p, 'always_nodes')):
|
||||
return False
|
||||
else:
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user