From 85d0d97715edc6198ca9b07c7ca7dcb45d023b9f Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Thu, 17 Nov 2011 15:31:00 -0800 Subject: [PATCH] Use new-style classes, 2001 was 10 years ago Re #1 --- ssh/agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssh/agent.py b/ssh/agent.py index b029f1b..d8c52f1 100644 --- a/ssh/agent.py +++ b/ssh/agent.py @@ -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()