From e98272e0c5bc68de623748d90fa509aea113d366 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 19 Oct 2011 15:34:24 +0200 Subject: [PATCH] move log.info down Signed-off-by: Nico Schottelius --- lib/cdist/config_install.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py index 7ba8be75..9c2b6e4c 100644 --- a/lib/cdist/config_install.py +++ b/lib/cdist/config_install.py @@ -125,8 +125,7 @@ class ConfigInstall(object): def object_run(self, cdist_object): """Run gencode and code for an object""" - self.log.info("Running gencode and code for " + cdist_object.name) - + self.log.info("" + cdist_object.name) if cdist_object.state == cdist.core.object.STATE_RUNNING: raise cdist.Error("Detected circular dependency in " + cdist_object.__str__()) elif cdist_object.state == cdist.core.object.STATE_DONE: @@ -142,6 +141,8 @@ class ConfigInstall(object): required_object = cdist_object.object_from_name(requirement) self.object_run(required_object) + self.log.info("Running gencode and code for " + cdist_object.name) + # Generate cdist_object.code_local = self.code.run_gencode_local(cdist_object) cdist_object.code_remote = self.code.run_gencode_remote(cdist_object)