From 143939a6f71745876859a53e6b426e3768762744 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 13 Oct 2011 11:09:57 +0200 Subject: [PATCH] do not change current env Signed-off-by: Nico Schottelius --- lib/cdist/config_install.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py index 6ab2c162..4c4fd245 100644 --- a/lib/cdist/config_install.py +++ b/lib/cdist/config_install.py @@ -85,13 +85,9 @@ class ConfigInstall(object): os.mkdir(self.context.out_path) os.mkdir(self.context.bin_path) - # FIXME: remove this function, only expose ENV - # explicitly! - def __init_env(self): - """Environment usable for other stuff""" - os.environ['__target_host'] = self.context.target_host - if self.context.debug: - os.environ['__debug'] = "yes" +# os.environ['__target_host'] = self.context.target_host +# if self.context.debug: +# os.environ['__debug'] = "yes" def cleanup(self): self.log.debug("Saving " + self.context.out_path + " to " + self.context.cache_path)