create remote conf path on new context

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-07 16:09:10 +02:00
parent 9045b30136
commit c93e0f90c9

View file

@ -85,6 +85,7 @@ class Context:
self.remote_conf_path = os.path.join(self.remote_base_path, "conf") self.remote_conf_path = os.path.join(self.remote_base_path, "conf")
self.remote_object_path = os.path.join(self.remote_base_path, "object") self.remote_object_path = os.path.join(self.remote_base_path, "object")
self.remote_type_path = os.path.join(self.remote_conf_path, "type") self.remote_type_path = os.path.join(self.remote_conf_path, "type")
self.remote_global_explorer_path = os.path.join(self.remote_conf_path, "explorer") self.remote_global_explorer_path = os.path.join(self.remote_conf_path, "explorer")
@ -120,6 +121,7 @@ class Context:
self.remove_remote_path(self.remote_base_path) self.remove_remote_path(self.remote_base_path)
self.remote_mkdir(self.remote_base_path) self.remote_mkdir(self.remote_base_path)
self.remote_mkdir(self.remote_conf_path)
def remote_mkdir(self, directory): def remote_mkdir(self, directory):
"""Create directory on remote side""" """Create directory on remote side"""