forked from ungleich-public/cdist
fix refactor error
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
25bdcb1602
commit
9326adf34b
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class Local(object):
|
|||
self._link_types_for_emulator()
|
||||
|
||||
def save_cache(self):
|
||||
destination = os.path.join(self.local.cache_path, self.target_host)
|
||||
destination = os.path.join(self.cache_path, self.target_host)
|
||||
self.log.debug("Saving " + self.out_path + " to " + destination)
|
||||
if os.path.exists(destination):
|
||||
shutil.rmtree(destination)
|
||||
|
|
Loading…
Reference in a new issue