Fix log init error.
This commit is contained in:
parent
3b91ace4ea
commit
120b11e96b
1 changed files with 1 additions and 1 deletions
|
@ -54,6 +54,7 @@ class Local(object):
|
||||||
add_conf_dirs=None):
|
add_conf_dirs=None):
|
||||||
|
|
||||||
self.target_host = target_host
|
self.target_host = target_host
|
||||||
|
self._init_log()
|
||||||
|
|
||||||
# FIXME: stopped: create base that does not require moving later
|
# FIXME: stopped: create base that does not require moving later
|
||||||
if base_path:
|
if base_path:
|
||||||
|
@ -69,7 +70,6 @@ class Local(object):
|
||||||
"\"{}\"".format(self.target_host, self.hostdir))
|
"\"{}\"".format(self.target_host, self.hostdir))
|
||||||
self.base_path = os.path.join(base_path_parent, self.hostdir)
|
self.base_path = os.path.join(base_path_parent, self.hostdir)
|
||||||
|
|
||||||
self._init_log()
|
|
||||||
self._init_permissions()
|
self._init_permissions()
|
||||||
|
|
||||||
self.mkdir(self.base_path)
|
self.mkdir(self.base_path)
|
||||||
|
|
Loading…
Reference in a new issue