Added dirty hack to fix paramiko
Change-Id: I007efb59ddf0913868af1c3151a37761e40bda2d
This commit is contained in:
parent
1a2d3fa057
commit
374e35d0b8
@ -18,12 +18,17 @@ import io
|
||||
import time
|
||||
|
||||
from paramiko import AutoAddPolicy, RSAKey
|
||||
from paramiko import py3compat
|
||||
from paramiko.client import SSHClient as ParamikoSSHClient
|
||||
|
||||
from cafe.engine.sshv2.common import (
|
||||
BaseSSHClass, _SSHLogger, DEFAULT_TIMEOUT, POLLING_RATE, CHANNEL_KEEPALIVE)
|
||||
from cafe.engine.sshv2.models import ExecResponse
|
||||
|
||||
# this is a hack to preimport dependencies imported in a thread during connect
|
||||
# which causes a deadlock. https://github.com/paramiko/paramiko/issues/104
|
||||
py3compat.u("")
|
||||
|
||||
|
||||
class ProxyTypes(object):
|
||||
SOCKS5 = 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user