summaryrefslogtreecommitdiffhomepage
path: root/paramiko/agent.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2018-12-14 19:40:01 -0800
committerJeff Forcier <jeff@bitprophet.org>2018-12-14 19:40:01 -0800
commit46a828db91dabcdf0a9ea035ff22a92a83ead496 (patch)
treee9db8616b3f6c5c2c8d8a0cf05ec9a7ec915683f /paramiko/agent.py
parent94a8169b1391ae8f1a9e8f4e4fad7e001c334fe8 (diff)
parentc95635e5e901d87a11d9fe8b5d7b689f35abf559 (diff)
Merge branch '2.0' into 2.1
Diffstat (limited to 'paramiko/agent.py')
-rw-r--r--paramiko/agent.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/agent.py b/paramiko/agent.py
index d9c998c0..f2b1ecbe 100644
--- a/paramiko/agent.py
+++ b/paramiko/agent.py
@@ -80,8 +80,8 @@ class AgentSSH(object):
def _send_message(self, msg):
msg = asbytes(msg)
self._conn.send(struct.pack(">I", len(msg)) + msg)
- l = self._read_all(4)
- msg = Message(self._read_all(struct.unpack(">I", l)[0]))
+ data = self._read_all(4)
+ msg = Message(self._read_all(struct.unpack(">I", data)[0]))
return ord(msg.get_byte()), msg
def _read_all(self, wanted):