Skip to content

Commit

Permalink
remove reference to paramiko's ResourceManager, which is no longer wo…
Browse files Browse the repository at this point in the history
…rking/needed in paramiko>=1.17
  • Loading branch information
knipknap committed Jun 16, 2017
1 parent 2077f60 commit 51f808d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Exscript/protocols/ssh2.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import Crypto
from binascii import hexlify
from paramiko import util
from paramiko.resource import ResourceManager
from paramiko.ssh_exception import SSHException, AuthenticationException, \
BadHostKeyException
from ..util.tty import get_terminal_size
Expand Down Expand Up @@ -161,7 +160,6 @@ def _paramiko_connect(self):
t = paramiko.Transport(sock)
t.banner_timeout = self.banner_timeout
t.start_client()
ResourceManager.register(self, t)

# Check system host keys.
server_key = t.get_remote_server_key()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
future
configparser
pycrypto
paramiko
paramiko>=1.17

0 comments on commit 51f808d

Please sign in to comment.