forked from ungleich-public/cdist
Make comment better.
This commit is contained in:
parent
dd1b95f596
commit
b83e6993c1
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ class Local(object):
|
||||||
"Cannot delete old cache %s: %s" % (destination, e))
|
"Cannot delete old cache %s: %s" % (destination, e))
|
||||||
|
|
||||||
shutil.move(self.base_path, destination)
|
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")
|
host_cache_path = os.path.join(destination, "target_host")
|
||||||
with open(host_cache_path, 'w') as hostf:
|
with open(host_cache_path, 'w') as hostf:
|
||||||
print(self.target_host[0], file=hostf)
|
print(self.target_host[0], file=hostf)
|
||||||
|
|
Loading…
Reference in a new issue