forked from ungleich-public/cdist
also remove obsolete save_cache function
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
14a3bf7262
commit
4ec1afc47f
1 changed files with 0 additions and 7 deletions
|
@ -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…
Reference in a new issue