fix refactor error

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
remotes/origin/2.1
Nico Schottelius 12 years ago
parent 25bdcb1602
commit 9326adf34b
  1. 2
      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)

Loading…
Cancel
Save