diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2008-12-02 02:33:13 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2008-12-02 02:33:13 +0000 |
commit | eb241fadf22bd9cafa3c2b2e91a914a12df07993 (patch) | |
tree | 3e8b77cc4788dd77d781dd0ccda25c0e76c472a2 /python | |
parent | a001ed0c033faf7dcce706408d0a00298215cde0 (diff) |
Fix call to superclass.__init__() to work on newer versions of Python.
Diffstat (limited to 'python')
-rwxr-xr-x | python/google/protobuf/reflection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/google/protobuf/reflection.py b/python/google/protobuf/reflection.py index c35742ce..9ba752e4 100755 --- a/python/google/protobuf/reflection.py +++ b/python/google/protobuf/reflection.py @@ -153,7 +153,7 @@ class GeneratedProtocolMessageType(type): _AddMessageMethods(descriptor, cls) _AddPrivateHelperMethods(cls) superclass = super(GeneratedProtocolMessageType, cls) - superclass.__init__(cls, name, bases, dictionary) + superclass.__init__(name, bases, dictionary) # Stateless helpers for GeneratedProtocolMessageType below. |