From c9bb10551820c4b2f8017ea290791d500d34716a Mon Sep 17 00:00:00 2001
From: Steven Armstrong <steven@icarus.ethz.ch>
Date: Fri, 14 Oct 2011 15:59:58 +0200
Subject: [PATCH] run_code* no longer returns output

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
---
 lib/cdist/core/code.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cdist/core/code.py b/lib/cdist/core/code.py
index af756263..e81f7954 100644
--- a/lib/cdist/core/code.py
+++ b/lib/cdist/core/code.py
@@ -104,7 +104,7 @@ class Code(object):
                 '__object_id': cdist_object.object_id,
                 '__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):
         """Run the gencode-local script for the given cdist object."""