fix refactor error

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-06-24 13:23:31 +02:00
parent 25bdcb1602
commit 9326adf34b

View file

@ -161,7 +161,7 @@ class Local(object):
self._link_types_for_emulator() self._link_types_for_emulator()
def save_cache(self): 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) self.log.debug("Saving " + self.out_path + " to " + destination)
if os.path.exists(destination): if os.path.exists(destination):
shutil.rmtree(destination) shutil.rmtree(destination)