run_code* no longer returns output

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-14 15:59:58 +02:00
parent 63ad882512
commit c9bb105518

View file

@ -104,7 +104,7 @@ class Code(object):
'__object_id': cdist_object.object_id, '__object_id': cdist_object.object_id,
'__object_fq': cdist_object.path, '__object_fq': cdist_object.path,
}) })
return self.local.run_script(script, env=env) return self.local.run_script(script, env=env, return_output=True)
def run_gencode_local(self, cdist_object): def run_gencode_local(self, cdist_object):
"""Run the gencode-local script for the given cdist object.""" """Run the gencode-local script for the given cdist object."""