be consistent in remote

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-10-30 16:07:00 +01:00
parent cbe95b18e6
commit dcaa70e6be
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ class ConfigInstall(object):
# Initialise local directory structure
self.local.create_files_dirs()
# Initialise remote directory structure
self.remote.create_directories()
self.remote.create_files_dirs()
self.explorer = core.Explorer(self.context.target_host, self.local, self.remote)
self.manifest = core.Manifest(self.context.target_host, self.local)

View file

@ -57,7 +57,7 @@ class Remote(object):
self.log = logging.getLogger(self.target_host)
def create_directories(self):
def create_files_dirs(self):
self.rmdir(self.base_path)
self.mkdir(self.base_path)
self.mkdir(self.conf_path)