From e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 Mon Sep 17 00:00:00 2001 From: shadchin Date: Thu, 10 Feb 2022 16:44:39 +0300 Subject: Restoring authorship annotation for . Commit 2 of 2. --- .../python/tornado/tornado-4/tornado/httputil.py | 12 ++++----- contrib/python/tornado/ya.make | 30 +++++++++++----------- 2 files changed, 21 insertions(+), 21 deletions(-) (limited to 'contrib/python/tornado') 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 -- cgit v1.3