Use new-style classes, 2001 was 10 years ago
(cherry picked from commit 85d0d97715
)
This commit is contained in:
parent
212276af13
commit
a84bd27bfd
|
@ -38,7 +38,7 @@ from paramiko.channel import Channel
|
||||||
SSH2_AGENTC_REQUEST_IDENTITIES, SSH2_AGENT_IDENTITIES_ANSWER, \
|
SSH2_AGENTC_REQUEST_IDENTITIES, SSH2_AGENT_IDENTITIES_ANSWER, \
|
||||||
SSH2_AGENTC_SIGN_REQUEST, SSH2_AGENT_SIGN_RESPONSE = range(11, 15)
|
SSH2_AGENTC_SIGN_REQUEST, SSH2_AGENT_SIGN_RESPONSE = range(11, 15)
|
||||||
|
|
||||||
class AgentSSH:
|
class AgentSSH(object):
|
||||||
"""
|
"""
|
||||||
Client interface for using private keys from an SSH agent running on the
|
Client interface for using private keys from an SSH agent running on the
|
||||||
local machine. If an SSH agent is running, this class can be used to
|
local machine. If an SSH agent is running, this class can be used to
|
||||||
|
@ -172,7 +172,7 @@ class AgentRemoteProxy(AgentProxyThread):
|
||||||
"""
|
"""
|
||||||
return (self.__chan, None)
|
return (self.__chan, None)
|
||||||
|
|
||||||
class AgentClientProxy:
|
class AgentClientProxy(object):
|
||||||
"""
|
"""
|
||||||
Class proxying request as a client:
|
Class proxying request as a client:
|
||||||
-> client ask for a request_forward_agent()
|
-> client ask for a request_forward_agent()
|
||||||
|
|
Loading…
Reference in New Issue