forked from ungleich-public/cdist
pep8
This commit is contained in:
parent
3cf417fa2b
commit
6946dc877a
1 changed files with 2 additions and 2 deletions
|
@ -220,9 +220,9 @@ class Explorer(object):
|
||||||
"for: %s"), cdist_type)
|
"for: %s"), cdist_type)
|
||||||
else:
|
else:
|
||||||
source = os.path.join(self.local.type_path,
|
source = os.path.join(self.local.type_path,
|
||||||
cdist_type.explorer_path)
|
cdist_type.explorer_path)
|
||||||
destination = os.path.join(self.remote.type_path,
|
destination = os.path.join(self.remote.type_path,
|
||||||
cdist_type.explorer_path)
|
cdist_type.explorer_path)
|
||||||
self.remote.mkdir(destination)
|
self.remote.mkdir(destination)
|
||||||
self.remote.transfer(source, destination)
|
self.remote.transfer(source, destination)
|
||||||
self.remote.run(["chmod", "0700", "%s/*" % (destination)])
|
self.remote.run(["chmod", "0700", "%s/*" % (destination)])
|
||||||
|
|
Loading…
Reference in a new issue