forked from ungleich-public/cdist
++FIXME
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
9156d2f5ac
commit
de8a09b45d
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ class ConfigInstall(object):
|
||||||
"""Run gencode and code for an object"""
|
"""Run gencode and code for an object"""
|
||||||
self.log.info("Starting run of " + cdist_object.name)
|
self.log.info("Starting run of " + cdist_object.name)
|
||||||
if cdist_object.state == core.Object.STATE_RUNNING:
|
if cdist_object.state == core.Object.STATE_RUNNING:
|
||||||
|
# FIXME: resolve dependency circle
|
||||||
raise cdist.Error("Detected circular dependency in " + cdist_object.name)
|
raise cdist.Error("Detected circular dependency in " + cdist_object.name)
|
||||||
elif cdist_object.state == core.Object.STATE_DONE:
|
elif cdist_object.state == core.Object.STATE_DONE:
|
||||||
self.log.debug("Ignoring run of already finished object %s", cdist_object)
|
self.log.debug("Ignoring run of already finished object %s", cdist_object)
|
||||||
|
|
Loading…
Reference in a new issue