diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2018-12-14 19:39:53 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2018-12-14 19:39:53 -0800 |
commit | c95635e5e901d87a11d9fe8b5d7b689f35abf559 (patch) | |
tree | c0f429cfffcdb1383d6524e4528ec3909ad36c25 /paramiko/agent.py | |
parent | 61ea0d14a388ec2729c2e9d17fa123c09f89101b (diff) |
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.py | 4 |
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): |