From 9156d2f5ac56ded6ad1a43e9209e403c5da18d5e Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Wed, 19 Oct 2011 16:15:52 +0200 Subject: [PATCH] trust in telmich we do (or should) Signed-off-by: Steven Armstrong --- lib/cdist/config_install.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py index cdb76ccd..cfd7e4c9 100644 --- a/lib/cdist/config_install.py +++ b/lib/cdist/config_install.py @@ -140,11 +140,8 @@ class ConfigInstall(object): for requirement in cdist_object.requirements: self.log.debug("Object %s requires %s", cdist_object, requirement) required_object = cdist_object.object_from_name(requirement) - if required_object.state == core.Object.STATE_DONE: - self.log.debug("Skipping fulfilled dependency %s for %s", required_object, cdist_object) - else: - self.log.info("Resolving dependency %s for %s" % (required_object.name, cdist_object.name)) - self.object_run(required_object) + self.log.info("Resolving dependency %s for %s" % (required_object.name, cdist_object.name)) + self.object_run(required_object) self.log.info("Running gencode and code for " + cdist_object.name)