From ba59339f67efda5f8f2a81870e25a99b6153146d Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 14 Oct 2011 23:21:22 +0200 Subject: [PATCH] fixup code and manifest Signed-off-by: Nico Schottelius --- lib/cdist/core/manifest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/cdist/core/manifest.py b/lib/cdist/core/manifest.py index 3eca166c..f031ac35 100644 --- a/lib/cdist/core/manifest.py +++ b/lib/cdist/core/manifest.py @@ -74,6 +74,9 @@ class Manifest(object): '__global': self.local.out_path, '__cdist_type_base_path': self.local.type_path, # for use in type emulator } + if log.getEffectiveLevel() == logging.DEBUG: + self.env.update({'__debug': "yes" }) + def run_initial_manifest(self, script): env = os.environ.copy()