summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authoryayogev <yaronyogev@gmail.com>2017-08-21 10:04:17 +0300
committeryayogev <yaronyogev@gmail.com>2017-08-21 10:04:17 +0300
commitf1a8bef9f98a4601de16ee96ac1e68b212d104d8 (patch)
treea7c011ec52c27dba9a61f0c1b2c282d6bf790d6e /app
parent53bbf93de9cab75367b4b5fcf21f1e3de41e2d2e (diff)
fix initialization of SshConnection from SshConn
Change-Id: I0967895b8bbc249643527f9ffbff4aaf46c43e14 Signed-off-by: yayogev <yaronyogev@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/utils/ssh_conn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/utils/ssh_conn.py b/app/utils/ssh_conn.py
index d4b7954..c58b980 100644
--- a/app/utils/ssh_conn.py
+++ b/app/utils/ssh_conn.py
@@ -38,7 +38,7 @@ class SshConn(SshConnection):
self.user = None
self.pwd = None
self.check_definitions()
- super().__init__(self.host, self.user, _pwd=self.pwd, _key=self.key,
+ super().__init__(host_name, self.user, _pwd=self.pwd, _key=self.key,
_port=self.port, for_sftp=for_sftp)
self.inv = InventoryMgr()
if host_name in self.connections and not self.ssh: