Fix import in ssh connection

This commit is contained in:
Michael DeHaan 2012-07-15 13:12:11 -04:00
parent 7c14797e35
commit 94ae897e00

View file

@ -36,7 +36,7 @@ class Connection(object):
elif transport == 'paramiko':
conn = paramiko_ssh.ParamikoConnection(self.runner, host, port)
elif transport == 'ssh':
conn = SSHConnection(self.runner, host, port)
conn = ssh.SSHConnection(self.runner, host, port)
if conn is None:
raise Exception("unsupported connection type")
return conn.connect()