support distributed project updates

This commit is contained in:
Chris Meyers
2016-10-24 14:53:34 -04:00
parent 306562cd67
commit 5fa5d4b34b
2 changed files with 10 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ class DependencyGraph(object):
return True
# TODO: Other finished, failed cases? i.e. error ?
if latest_project_update['status'] == 'failed':
if latest_project_update['status'] in ['failed', 'canceled']:
return True
'''
@@ -89,7 +89,7 @@ class DependencyGraph(object):
return True
# TODO: Other finished, failed cases? i.e. error ?
if latest_inventory_update['status'] == 'failed':
if latest_inventory_update['status'] in ['failed', 'canceled']:
return True
'''