diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-05-31 18:03:12 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-05-31 18:03:12 -0700 |
commit | 25de2a02048897752df356189017b22a49d37f88 (patch) | |
tree | 60ee505fa6a9c8b11852b1b9a8dd06bcdc89936e /paramiko/channel.py | |
parent | f95f0eb1fb82da7ead513dac352ec92712d68e24 (diff) | |
download | paramiko-25de2a02048897752df356189017b22a49d37f88.tar.gz |
More death to line continuations
Diffstat (limited to 'paramiko/channel.py')
-rw-r--r-- | paramiko/channel.py | 5 |
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) |