summaryrefslogtreecommitdiff
path: root/paramiko/packet.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2015-10-30 12:21:59 -0700
committerJeff Forcier <jeff@bitprophet.org>2015-11-01 11:51:20 -0800
commitc06927016f0b3e51ba725b57e6f20f0f5c74dbc7 (patch)
treec48c49801527ff43a24b81def8104937946ea723 /paramiko/packet.py
parent439876b38cb8caf38ed957bdf0caeeeedfac740d (diff)
downloadparamiko-c06927016f0b3e51ba725b57e6f20f0f5c74dbc7.tar.gz
Formatting
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 b922000c..2be2bb2b 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')