From de8a09b45dd8d6f1549526953c2247693afcd57e Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Wed, 19 Oct 2011 16:16:52 +0200 Subject: [PATCH] ++FIXME Signed-off-by: Steven Armstrong --- lib/cdist/config_install.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py index cfd7e4c9..7dd001c6 100644 --- a/lib/cdist/config_install.py +++ b/lib/cdist/config_install.py @@ -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)