From 02934055e749ea2fe3406842b8ef6d76351a6ab4 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 14 Oct 2011 23:14:05 +0200 Subject: [PATCH] make debug test work for explorer Signed-off-by: Nico Schottelius --- lib/cdist/core/explorer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cdist/core/explorer.py b/lib/cdist/core/explorer.py index 46230bcd..9dd5d210 100644 --- a/lib/cdist/core/explorer.py +++ b/lib/cdist/core/explorer.py @@ -73,6 +73,8 @@ class Explorer(object): '__target_host': self.target_host, '__explorer': self.remote.global_explorer_path, } + if log.getEffectiveLevel() == logging.DEBUG: + self.env.update({'__debug': "yes" }) ### global