]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
fix E127
authorSakuya <dl@pbstu.com>
Mon, 15 Mar 2021 20:44:19 +0000 (04:44 +0800)
committerGitHub <noreply@github.com>
Mon, 15 Mar 2021 20:44:19 +0000 (04:44 +0800)
tornado/http1connection.py

index 87aebf095331cb9eb9788e9b865c2b3973dd4c8c..9f51e3073807b1e4b7f1ed4dcadd5aa90ab31d01 100644 (file)
@@ -132,7 +132,7 @@ class HTTP1Connection(httputil.HTTPConnection):
         # 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
+                              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