From: Sakuya
Date: Mon, 15 Mar 2021 20:28:53 +0000 (+0800)
Subject: fix line too long
X-Git-Tag: v6.2.0b1~48^2~4
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b7c79ac5452a91ccdf2df0ac0e3d8bd8c20c64;p=thirdparty%2Ftornado.git
fix line too long
---
diff --git a/tornado/http1connection.py b/tornado/http1connection.py
index dd9494fc6..87aebf095 100644
--- a/tornado/http1connection.py
+++ b/tornado/http1connection.py
@@ -131,7 +131,8 @@ class HTTP1Connection(httputil.HTTPConnection):
self.no_keep_alive = params.no_keep_alive
# The body limits can be altered by the delegate, so save them
# here instead of just referencing self.params later.
- self._max_body_size = self.params.max_body_size if self.params.max_body_size is not None else self.stream.max_buffer_size
+ self._max_body_size = self.params.max_body_size if self.params.max_body_size is not None \
+ else self.stream.max_buffer_size
self._body_timeout = self.params.body_timeout
# _write_finished is set to True when finish() has been called,
# i.e. there will be no more data sent. Data may still be in the