diff --git a/cdist/exec/local.py b/cdist/exec/local.py index 693830eb..da7f69c1 100644 --- a/cdist/exec/local.py +++ b/cdist/exec/local.py @@ -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)