From e4e76a0c798bd99d223eec2e0970e96fb9c66ca4 Mon Sep 17 00:00:00 2001 From: kdmitriy Date: Thu, 10 Feb 2022 16:49:05 +0300 Subject: Restoring authorship annotation for . Commit 2 of 2. --- .../python/protobuf/py2/google/protobuf/internal/enum_type_wrapper.py | 4 ++-- .../python/protobuf/py3/google/protobuf/internal/enum_type_wrapper.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib/python') 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 0c1b186d0d9..9ae00665849 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 0c1b186d0d9..9ae00665849 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( -- cgit v1.3