From f0852209f01642bea546aeacb9c816890597a195 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 11 Oct 2011 16:59:22 +0200 Subject: [PATCH] save debug in context Signed-off-by: Nico Schottelius --- lib/cdist/context.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cdist/context.py b/lib/cdist/context.py index 7bb700e8..f70e9752 100644 --- a/lib/cdist/context.py +++ b/lib/cdist/context.py @@ -41,6 +41,8 @@ class Context(object): exec_path=sys.argv[0], debug=False): + self.debug = debug + self.target_host = target_host # Only required for testing