From c30e112e4a2773bee50bc440e1a740fbc2465fff Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Fri, 14 Oct 2011 16:07:50 +0200 Subject: [PATCH] explorer: make tests pass again Signed-off-by: Steven Armstrong --- lib/cdist/core/explorer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cdist/core/explorer.py b/lib/cdist/core/explorer.py index ee1008fe..46230bcd 100644 --- a/lib/cdist/core/explorer.py +++ b/lib/cdist/core/explorer.py @@ -88,7 +88,7 @@ class Explorer(object): def run_global_explorer(self, explorer): """Run the given global explorer and return it's output.""" script = os.path.join(self.remote.global_explorer_path, explorer) - return self.remote.run_script(script, env=self.env) + return self.remote.run_script(script, env=self.env, return_output=True) ### type @@ -126,4 +126,4 @@ class Explorer(object): '__type_explorer': os.path.join(self.remote.type_path, cdist_type.explorer_path) }) script = os.path.join(self.remote.type_path, cdist_type.explorer_path, explorer) - return self.remote.run_script(script, env=env) + return self.remote.run_script(script, env=env, return_output=True)