Make comment better.

remotes/origin/4.3
Darko Poljak 8 years ago
parent dd1b95f596
commit b83e6993c1
  1. 2
      cdist/exec/local.py

@ -254,7 +254,7 @@ class Local(object):
"Cannot delete old cache %s: %s" % (destination, e))
shutil.move(self.base_path, destination)
# add target_host since cache dir is hash-ed target_host
# add target_host since cache dir can be hash-ed target_host
host_cache_path = os.path.join(destination, "target_host")
with open(host_cache_path, 'w') as hostf:
print(self.target_host[0], file=hostf)

Loading…
Cancel
Save