diff options
author | Jeremy T. Bouse <jbouse@debian.org> | 2014-02-14 21:29:58 -0500 |
---|---|---|
committer | Jeremy T. Bouse <jbouse@debian.org> | 2014-02-14 21:29:58 -0500 |
commit | 3bb46c9cb414ca82afab715d2d0cc00ed71cfb6d (patch) | |
tree | 968464cb0214980291af70f9d1756d907b35aa6c /paramiko/agent.py | |
parent | 1a716ed46d1d556d4ba6798608ab498320acd886 (diff) | |
download | python-paramiko-3bb46c9cb414ca82afab715d2d0cc00ed71cfb6d.tar python-paramiko-3bb46c9cb414ca82afab715d2d0cc00ed71cfb6d.tar.gz |
Imported Upstream version 1.12.2upstream/1.12.2
Diffstat (limited to 'paramiko/agent.py')
-rw-r--r-- | paramiko/agent.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/paramiko/agent.py b/paramiko/agent.py index 1dd3063..23a5a2e 100644 --- a/paramiko/agent.py +++ b/paramiko/agent.py @@ -7,7 +7,7 @@ # Software Foundation; either version 2.1 of the License, or (at your option) # any later version. # -# Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more # details. @@ -255,11 +255,11 @@ class AgentServerProxy(AgentSSH): self.close() def connect(self): - conn_sock = self.__t.open_forward_agent_channel() - if conn_sock is None: - raise SSHException('lost ssh-agent') - conn_sock.set_name('auth-agent') - self._connect(conn_sock) + conn_sock = self.__t.open_forward_agent_channel() + if conn_sock is None: + raise SSHException('lost ssh-agent') + conn_sock.set_name('auth-agent') + self._connect(conn_sock) def close(self): """ |