change order of log.info

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-19 16:42:14 +02:00
parent e9541b2a2a
commit ca1ef28fe1

View file

@ -144,15 +144,15 @@ class ConfigInstall(object):
self.log.info("Resolving dependency %s for %s" % (required_object.name, cdist_object.name)) self.log.info("Resolving dependency %s for %s" % (required_object.name, cdist_object.name))
self.object_run(required_object) self.object_run(required_object)
self.log.info("Running gencode and code for " + cdist_object.name)
# Generate # Generate
self.log.info("Generating code for " + cdist_object.name)
cdist_object.code_local = self.code.run_gencode_local(cdist_object) cdist_object.code_local = self.code.run_gencode_local(cdist_object)
cdist_object.code_remote = self.code.run_gencode_remote(cdist_object) cdist_object.code_remote = self.code.run_gencode_remote(cdist_object)
if cdist_object.code_local or cdist_object.code_remote: if cdist_object.code_local or cdist_object.code_remote:
cdist_object.changed = True cdist_object.changed = True
# Execute # Execute
self.log.info("Executing code for " + cdist_object.name)
if cdist_object.code_local: if cdist_object.code_local:
self.code.run_code_local(cdist_object) self.code.run_code_local(cdist_object)
if cdist_object.code_remote: if cdist_object.code_remote: