diff options
author | kdmitriy <[email protected]> | 2022-02-10 16:49:05 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:05 +0300 |
commit | e4e76a0c798bd99d223eec2e0970e96fb9c66ca4 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 | |
parent | 975df7897180cc62b0fca57e6fd658923b3ea1a2 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
-rw-r--r-- | contrib/python/protobuf/py2/google/protobuf/internal/enum_type_wrapper.py | 4 | ||||
-rw-r--r-- | contrib/python/protobuf/py3/google/protobuf/internal/enum_type_wrapper.py | 4 |
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 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( |