|
|
@ -140,9 +140,6 @@ class Code(object): |
|
|
|
cdist_object.code_remote_path) |
|
|
|
cdist_object.code_remote_path) |
|
|
|
destination = os.path.join(self.remote.object_path, |
|
|
|
destination = os.path.join(self.remote.object_path, |
|
|
|
cdist_object.code_remote_path) |
|
|
|
cdist_object.code_remote_path) |
|
|
|
# FIXME: BUG: do not create destination, but top level of destination! |
|
|
|
|
|
|
|
# self.remote.mkdir(destination) |
|
|
|
|
|
|
|
# FIX? |
|
|
|
|
|
|
|
self.remote.mkdir(os.path.dirname(destination)) |
|
|
|
self.remote.mkdir(os.path.dirname(destination)) |
|
|
|
self.remote.transfer(source, destination) |
|
|
|
self.remote.transfer(source, destination) |
|
|
|
|
|
|
|
|
|
|
|