also remove obsolete save_cache function

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
remotes/origin/2.1
Nico Schottelius 12 years ago
parent 14a3bf7262
commit 4ec1afc47f
  1. 7
      cdist/config_install.py

@ -44,13 +44,6 @@ class ConfigInstall(object):
# Add switch to disable code execution
self.dry_run = False
def save_cache(self):
destination = os.path.join(self.context.local.cache_path, self.context.target_host)
self.log.debug("Saving " + self.context.local.out_path + " to " + destination)
if os.path.exists(destination):
shutil.rmtree(destination)
shutil.move(self.context.local.out_path, destination)
def _init_files_dirs(self):
"""Prepare files and directories for the run"""
self.context.local.create_files_dirs()

Loading…
Cancel
Save