Use new-style classes, 2001 was 10 years ago

(cherry picked from commit 85d0d97715)
This commit is contained in:
Jeff Forcier 2011-11-17 15:31:00 -08:00
parent 212276af13
commit a84bd27bfd
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ from paramiko.channel import Channel
SSH2_AGENTC_REQUEST_IDENTITIES, SSH2_AGENT_IDENTITIES_ANSWER, \
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
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)
class AgentClientProxy:
class AgentClientProxy(object):
"""
Class proxying request as a client:
-> client ask for a request_forward_agent()