Use new-style classes, 2001 was 10 years ago

Re #1
This commit is contained in:
Jeff Forcier 2011-11-17 15:31:00 -08:00
parent eb49bf4870
commit 85d0d97715
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ from ssh.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()