summaryrefslogtreecommitdiff
path: root/paramiko/agent.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2018-12-14 19:39:53 -0800
committerJeff Forcier <jeff@bitprophet.org>2018-12-14 19:39:53 -0800
commitc95635e5e901d87a11d9fe8b5d7b689f35abf559 (patch)
treec0f429cfffcdb1383d6524e4528ec3909ad36c25 /paramiko/agent.py
parent61ea0d14a388ec2729c2e9d17fa123c09f89101b (diff)
downloadparamiko-c95635e5e901d87a11d9fe8b5d7b689f35abf559.tar.gz
flake8 fixes after upgrading it to 3.6.0
- bare excepts weren't an error before? huh. too lazy to fix them right now though, given the rest of this code... - ambiguous variables are new; not clear why they're ambiguous besides being short. but, fixed - some wacky non-escape sequence in some awful gssapi output strings. whatever. removed
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):