summaryrefslogtreecommitdiffstats
path: root/modules/opnfv/utils/SSHUtils.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-11-17 11:35:39 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2016-11-17 14:06:09 +0100
commit6feca8823b63573d0ba5e67a3098c7745a068649 (patch)
treeece6e663c91e5b82e1b2ae25d84af4772a8c4ab7 /modules/opnfv/utils/SSHUtils.py
parent387600a6d881bfdc046772b2a3cfbfb59fd2469c (diff)
Transform fetch_os_creds.sh into python Class
JIRA: RELENG-168 Change-Id: Id5b1fca430c37917b554a54dd0678d9d7497dc11 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'modules/opnfv/utils/SSHUtils.py')
-rw-r--r--modules/opnfv/utils/SSHUtils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/opnfv/utils/SSHUtils.py b/modules/opnfv/utils/SSHUtils.py
index 2f48addbf..6c794c274 100644
--- a/modules/opnfv/utils/SSHUtils.py
+++ b/modules/opnfv/utils/SSHUtils.py
@@ -10,7 +10,7 @@
import paramiko
-import opnfv.modules.utils.OPNFVLogger as OPNFVLogger
+import opnfv.utils.OPNFVLogger as OPNFVLogger
import os
logger = OPNFVLogger.Logger('SSHUtils').getLogger()
@@ -68,7 +68,7 @@ class JumpHostHopClient(paramiko.SSHClient):
'''
def __init__(self, *args, **kwargs):
- self.logger = rl.Logger("JumpHostHopClient").getLogger()
+ self.logger = OPNFVLogger.Logger("JumpHostHopClient").getLogger()
self.jumphost_ssh = None
self.jumphost_transport = None
self.jumphost_channel = None