aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorkdmitriy <kdmitriy@yandex-team.ru>2022-02-10 16:49:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:05 +0300
commite4e76a0c798bd99d223eec2e0970e96fb9c66ca4 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /contrib
parent975df7897180cc62b0fca57e6fd658923b3ea1a2 (diff)
downloadydb-e4e76a0c798bd99d223eec2e0970e96fb9c66ca4.tar.gz
Restoring authorship annotation for <kdmitriy@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/python/protobuf/py2/google/protobuf/internal/enum_type_wrapper.py4
-rw-r--r--contrib/python/protobuf/py3/google/protobuf/internal/enum_type_wrapper.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/python/protobuf/py2/google/protobuf/internal/enum_type_wrapper.py b/contrib/python/protobuf/py2/google/protobuf/internal/enum_type_wrapper.py
index 0c1b186d0d..9ae0066584 100644
--- a/contrib/python/protobuf/py2/google/protobuf/internal/enum_type_wrapper.py
+++ b/contrib/python/protobuf/py2/google/protobuf/internal/enum_type_wrapper.py
@@ -104,8 +104,8 @@ class EnumTypeWrapper(object):
"""
return [(value_descriptor.name, value_descriptor.number)
for value_descriptor in self._enum_type.values]
-
- def __getattr__(self, name):
+
+ def __getattr__(self, name):
"""Returns the value corresponding to the given enum name."""
try:
return super(
diff --git a/contrib/python/protobuf/py3/google/protobuf/internal/enum_type_wrapper.py b/contrib/python/protobuf/py3/google/protobuf/internal/enum_type_wrapper.py
index 0c1b186d0d..9ae0066584 100644
--- a/contrib/python/protobuf/py3/google/protobuf/internal/enum_type_wrapper.py
+++ b/contrib/python/protobuf/py3/google/protobuf/internal/enum_type_wrapper.py
@@ -104,8 +104,8 @@ class EnumTypeWrapper(object):
"""
return [(value_descriptor.name, value_descriptor.number)
for value_descriptor in self._enum_type.values]
-
- def __getattr__(self, name):
+
+ def __getattr__(self, name):
"""Returns the value corresponding to the given enum name."""
try:
return super(