From a84bd27bfdc6ac8a125dcf8e4c23a0bb376c7b11 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 (cherry picked from commit 85d0d97715edc6198ca9b07c7ca7dcb45d023b9f) --- paramiko/agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paramiko/agent.py b/paramiko/agent.py index 3405a3d..6a5407d 100644 --- a/paramiko/agent.py +++ b/paramiko/agent.py @@ -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()