aboutsummaryrefslogtreecommitdiff
path: root/paramiko/packet.py
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2016-02-07 21:19:28 +0000
committerChristopher Baines <mail@cbaines.net>2016-02-07 21:19:28 +0000
commit8a563e44d42731143f4356edcad0d7469a56ea24 (patch)
tree4641e9608e76b130ea6afe467a30202494ef0eeb /paramiko/packet.py
parentbbf74c0dbf66c463bd68bd30abcd338796152354 (diff)
parent31b2fd0709f259961253b9cdc875ce7827abaa68 (diff)
downloadpython-paramiko-8a563e44d42731143f4356edcad0d7469a56ea24.tar
python-paramiko-8a563e44d42731143f4356edcad0d7469a56ea24.tar.gz
Merge tag 'upstream/1.16.0'
Upstream version 1.16.0
Diffstat (limited to 'paramiko/packet.py')
-rw-r--r--paramiko/packet.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/paramiko/packet.py b/paramiko/packet.py
index b922000..2be2bb2 100644
--- a/paramiko/packet.py
+++ b/paramiko/packet.py
@@ -389,7 +389,8 @@ class Packetizer (object):
if self.__dump_packets:
self._log(DEBUG, util.format_binary(header, 'IN: '))
packet_size = struct.unpack('>I', header[:4])[0]
- # leftover contains decrypted bytes from the first block (after the length field)
+ # leftover contains decrypted bytes from the first block (after the
+ # length field)
leftover = header[4:]
if (packet_size - len(leftover)) % self.__block_size_in != 0:
raise SSHException('Invalid packet blocking')