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
commitd35339e2d9abf583221e28198e5a4dfeb0aaf090 (patch)
treee059b7be9704cf87af91b6e5c58b3cd53cbc876f /paramiko/agent.py
parent8be99a9692016003218558269db362be07d4c445 (diff)
parent46a828db91dabcdf0a9ea035ff22a92a83ead496 (diff)
Merge branch '2.1' into 2.2
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):