remove type_explorer information from path

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/feature_files_export
Nico Schottelius 14 years ago
parent 1810462989
commit cf97fd9837
  1. 5
      lib/cdist/path.py

5
lib/cdist/path.py vendored

@ -92,7 +92,6 @@ class Path:
self.object_base_dir = os.path.join(self.out_dir, "object")
self.bin_dir = os.path.join(self.out_dir, "bin")
os.environ['__cdist_out_dir'] = self.out_dir
# List of type explorers transferred
self.type_explorers_transferred = {}
@ -116,6 +115,10 @@ class Path:
shutil.move(self.temp_dir, self.cache_dir)
def __init_env(self):
"""Setup environment"""
os.environ['__cdist_out_dir'] = self.out_dir
def __init_out_dirs(self):
"""Initialise output directory structure"""
os.mkdir(self.out_dir)

Loading…
Cancel
Save