Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-19 16:16:52 +02:00
parent 9156d2f5ac
commit de8a09b45d
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ class ConfigInstall(object):
"""Run gencode and code for an object"""
self.log.info("Starting run of " + cdist_object.name)
if cdist_object.state == core.Object.STATE_RUNNING:
# FIXME: resolve dependency circle
raise cdist.Error("Detected circular dependency in " + cdist_object.name)
elif cdist_object.state == core.Object.STATE_DONE:
self.log.debug("Ignoring run of already finished object %s", cdist_object)