diff options
| author | shadchin <[email protected]> | 2022-02-10 16:44:39 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:44:39 +0300 |
| commit | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (patch) | |
| tree | 64175d5cadab313b3e7039ebaa06c5bc3295e274 /contrib/python/tornado | |
| parent | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/tornado')
| -rw-r--r-- | contrib/python/tornado/tornado-4/tornado/httputil.py | 12 | ||||
| -rw-r--r-- | contrib/python/tornado/ya.make | 30 |
2 files changed, 21 insertions, 21 deletions
diff --git a/contrib/python/tornado/tornado-4/tornado/httputil.py b/contrib/python/tornado/tornado-4/tornado/httputil.py index b4de272c80c..9654b5ab4b1 100644 --- a/contrib/python/tornado/tornado-4/tornado/httputil.py +++ b/contrib/python/tornado/tornado-4/tornado/httputil.py @@ -31,11 +31,11 @@ import numbers import re import time -try: - from collections.abc import MutableMapping -except ImportError: - from collections import MutableMapping - +try: + from collections.abc import MutableMapping +except ImportError: + from collections import MutableMapping + from tornado.escape import native_str, parse_qs_bytes, utf8 from tornado.log import gen_log from tornado.util import ObjectDict, PY3 @@ -108,7 +108,7 @@ class _NormalizedHeaderCache(dict): _normalized_headers = _NormalizedHeaderCache(1000) -class HTTPHeaders(MutableMapping): +class HTTPHeaders(MutableMapping): """A dictionary that maintains ``Http-Header-Case`` for all keys. Supports multiple values per key via a pair of new methods, diff --git a/contrib/python/tornado/ya.make b/contrib/python/tornado/ya.make index c5510b6d113..85a91fb7c1d 100644 --- a/contrib/python/tornado/ya.make +++ b/contrib/python/tornado/ya.make @@ -1,19 +1,19 @@ -PY23_LIBRARY() - +PY23_LIBRARY() + LICENSE(Service-Py23-Proxy) - -OWNER(g:python-contrib) - -IF (PYTHON2) - PEERDIR(contrib/python/tornado/tornado-4) -ELSE() - PEERDIR(contrib/python/tornado/tornado-6) -ENDIF() - -NO_LINT() - -END() - + +OWNER(g:python-contrib) + +IF (PYTHON2) + PEERDIR(contrib/python/tornado/tornado-4) +ELSE() + PEERDIR(contrib/python/tornado/tornado-6) +ENDIF() + +NO_LINT() + +END() + RECURSE( tornado-4 tornado-6 |
