From 4ec1afc47f6a342aca3b2b61ecd3e0bd97e1fe65 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 21 Jun 2013 16:55:54 +0200 Subject: [PATCH] also remove obsolete save_cache function Signed-off-by: Nico Schottelius --- cdist/config_install.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cdist/config_install.py b/cdist/config_install.py index b34e8a84..e5d2de87 100644 --- a/cdist/config_install.py +++ b/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()