Browse Source

fix refactor error

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2.1
Nico Schottelius 10 years ago
parent
commit
9326adf34b
  1. 2
      cdist/exec/local.py

2
cdist/exec/local.py vendored

@ -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