summaryrefslogtreecommitdiffhomepage
path: root/paramiko/agent.py
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2005-10-13 18:52:59 +0000
committerRobey Pointer <robey@lag.net>2005-10-13 18:52:59 +0000
commit6eab0b3b4df096aa6b9421c8fe342078d182c523 (patch)
treea971bd201673ccfaa4f831308945d9dc670a1c40 /paramiko/agent.py
parent8bb5e65499661bc1e0556ccfe56c4317d70317cd (diff)
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-65]
remove unnecessary shebangs, fix import lines to be explicit about imports from within paramiko, and a bit of whitespace cleanup
Diffstat (limited to 'paramiko/agent.py')
-rw-r--r--paramiko/agent.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/paramiko/agent.py b/paramiko/agent.py
index 7e32c79d..fcf9b64a 100644
--- a/paramiko/agent.py
+++ b/paramiko/agent.py
@@ -20,15 +20,19 @@
SSH Agent interface for Unix clients.
"""
-import os, socket, struct
+import os
+import socket
+import struct
+
+from paramiko.ssh_exception import SSHException
+from paramiko.message import Message
+from paramiko.pkey import PKey
-from ssh_exception import SSHException
-from message import Message
-from pkey import PKey
SSH2_AGENTC_REQUEST_IDENTITIES, SSH2_AGENT_IDENTITIES_ANSWER, \
SSH2_AGENTC_SIGN_REQUEST, SSH2_AGENT_SIGN_RESPONSE = range(11, 15)
+
class Agent:
"""
Client interface for using private keys from an SSH agent running on the