summaryrefslogtreecommitdiff
path: root/paramiko/channel.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-05-31 18:03:12 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-05-31 18:03:12 -0700
commit25de2a02048897752df356189017b22a49d37f88 (patch)
tree60ee505fa6a9c8b11852b1b9a8dd06bcdc89936e /paramiko/channel.py
parentf95f0eb1fb82da7ead513dac352ec92712d68e24 (diff)
downloadparamiko-25de2a02048897752df356189017b22a49d37f88.tar.gz
More death to line continuations
Diffstat (limited to 'paramiko/channel.py')
-rw-r--r--paramiko/channel.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/paramiko/channel.py b/paramiko/channel.py
index 1bd7969d..f2ecc4c0 100644
--- a/paramiko/channel.py
+++ b/paramiko/channel.py
@@ -920,8 +920,9 @@ class Channel (ClosingContextManager):
def _set_remote_channel(self, chanid, window_size, max_packet_size):
self.remote_chanid = chanid
self.out_window_size = window_size
- self.out_max_packet_size = self.transport. \
- _sanitize_packet_size(max_packet_size)
+ self.out_max_packet_size = self.transport._sanitize_packet_size(
+ max_packet_size
+ )
self.active = 1
self._log(DEBUG, 'Max packet out: %d bytes' % self.out_max_packet_size)