aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python
diff options
context:
space:
mode:
authorakastornov <akastornov@yandex-team.ru>2022-02-10 16:46:03 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:03 +0300
commit3a2de774d91ca8d7325aaf81c200b1d2047725e6 (patch)
tree5674a780ce03a8bbd794733a19c7a70d587e4a14 /contrib/python
parent7bd11ff35e97544d119e43447e3e865f2588ee7f (diff)
downloadydb-3a2de774d91ca8d7325aaf81c200b1d2047725e6.tar.gz
Restoring authorship annotation for <akastornov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/python')
-rw-r--r--contrib/python/PyYAML/py2/yaml/scanner.py12
-rw-r--r--contrib/python/protobuf/py2/google/protobuf/pyext/message.cc2
-rw-r--r--contrib/python/protobuf/py3/google/protobuf/pyext/message.cc2
-rw-r--r--contrib/python/ya.make16
4 files changed, 16 insertions, 16 deletions
diff --git a/contrib/python/PyYAML/py2/yaml/scanner.py b/contrib/python/PyYAML/py2/yaml/scanner.py
index 587b73d8b4..b5eec641a8 100644
--- a/contrib/python/PyYAML/py2/yaml/scanner.py
+++ b/contrib/python/PyYAML/py2/yaml/scanner.py
@@ -26,8 +26,8 @@
__all__ = ['Scanner', 'ScannerError']
-import sys
-
+import sys
+
from error import MarkedYAMLError
from tokens import *
@@ -1222,10 +1222,10 @@ class Scanner(object):
"expected escape sequence of %d hexdecimal numbers, but found %r" %
(length, self.peek(k).encode('utf-8')), self.get_mark())
code = int(self.prefix(length), 16)
- if code <= sys.maxunicode:
- chunks.append(unichr(code))
- else:
- chunks.append(('\\U%08x' % code).decode('unicode-escape'))
+ if code <= sys.maxunicode:
+ chunks.append(unichr(code))
+ else:
+ chunks.append(('\\U%08x' % code).decode('unicode-escape'))
self.forward(length)
elif ch in u'\r\n\x85\u2028\u2029':
self.scan_line_break()
diff --git a/contrib/python/protobuf/py2/google/protobuf/pyext/message.cc b/contrib/python/protobuf/py2/google/protobuf/pyext/message.cc
index 8b41ca47dd..6663fe825b 100644
--- a/contrib/python/protobuf/py2/google/protobuf/pyext/message.cc
+++ b/contrib/python/protobuf/py2/google/protobuf/pyext/message.cc
@@ -822,7 +822,7 @@ PyObject* ToStringObject(const FieldDescriptor* descriptor,
}
return result;
#else
- return PyBytes_FromStringAndSize(value.c_str(), value.length());
+ return PyBytes_FromStringAndSize(value.c_str(), value.length());
#endif
}
diff --git a/contrib/python/protobuf/py3/google/protobuf/pyext/message.cc b/contrib/python/protobuf/py3/google/protobuf/pyext/message.cc
index 8b41ca47dd..6663fe825b 100644
--- a/contrib/python/protobuf/py3/google/protobuf/pyext/message.cc
+++ b/contrib/python/protobuf/py3/google/protobuf/pyext/message.cc
@@ -822,7 +822,7 @@ PyObject* ToStringObject(const FieldDescriptor* descriptor,
}
return result;
#else
- return PyBytes_FromStringAndSize(value.c_str(), value.length());
+ return PyBytes_FromStringAndSize(value.c_str(), value.length());
#endif
}
diff --git a/contrib/python/ya.make b/contrib/python/ya.make
index d01ced9f3a..ced6e24768 100644
--- a/contrib/python/ya.make
+++ b/contrib/python/ya.make
@@ -334,7 +334,7 @@ RECURSE(
elasticsearch
elasticsearch-dsl
email-validator
- emoji
+ emoji
entrypoints
enum34
environ-config
@@ -362,7 +362,7 @@ RECURSE(
fastapi
fastapi-utils
fastdtw
- fasteners
+ fasteners
fastjsonschema
fastsnmp
faulthandler
@@ -471,7 +471,7 @@ RECURSE(
h11
h2
h3
- h5py
+ h5py
hammock
hexdump
hijri-converter
@@ -630,8 +630,8 @@ RECURSE(
MongoDBProxy
mongoengine
mongolock
- mongomock
- monotonic
+ mongomock
+ monotonic
more-itertools
moto
moto/standalone
@@ -814,7 +814,7 @@ RECURSE(
pyelftools/readelf
pyfakefs
pyflakes
- pyfst
+ pyfst
pygit2
PyGithub
Pygments
@@ -913,7 +913,7 @@ RECURSE(
python-rapidjson
python-saml
python-slugify
- python-telegram-bot
+ python-telegram-bot
python-utils
python3-saml
pytils
@@ -986,7 +986,7 @@ RECURSE(
semantic-version
semver
Send2Trash
- sentinels
+ sentinels
sentry-sdk
service-identity
setproctitle