diff options
Diffstat (limited to 'third_party/protobuf/3.2.0/python/google/protobuf/reflection.py')
-rwxr-xr-x | third_party/protobuf/3.2.0/python/google/protobuf/reflection.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/protobuf/3.2.0/python/google/protobuf/reflection.py b/third_party/protobuf/3.2.0/python/google/protobuf/reflection.py index 05bafd692f..f4ce8caf9b 100755 --- a/third_party/protobuf/3.2.0/python/google/protobuf/reflection.py +++ b/third_party/protobuf/3.2.0/python/google/protobuf/reflection.py @@ -107,7 +107,7 @@ def MakeClass(descriptor): The Message class object described by the descriptor. """ if descriptor in MESSAGE_CLASS_CACHE: - return MESSAGE_CLASS_CACHE[descriptor] + return MESSAGE_CLASS_CACHE[descriptor] attributes = {} for name, nested_type in descriptor.nested_types_by_name.items(): @@ -115,7 +115,7 @@ def MakeClass(descriptor): attributes[GeneratedProtocolMessageType._DESCRIPTOR_KEY] = descriptor - result = GeneratedProtocolMessageType(str(descriptor.name), (message.Message,), - attributes) + result = GeneratedProtocolMessageType( + str(descriptor.name), (message.Message,), attributes) MESSAGE_CLASS_CACHE[descriptor] = result return result |