diff options
author | Nathaniel Manista <nathaniel@google.com> | 2017-03-03 01:41:34 +0000 |
---|---|---|
committer | Nathaniel Manista <nathaniel@google.com> | 2017-03-03 05:57:37 +0000 |
commit | 18f025e0a3e56d4e698f921220e18954b14723cc (patch) | |
tree | c3739889c6ea518a83108370eb546f18685c5086 /src/python | |
parent | d3d46a5385f9566cd630755679004c0088865744 (diff) |
Fix and enable super-init-not-called lint
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/grpcio/grpc/framework/interfaces/base/base.py | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/python/grpcio/grpc/framework/interfaces/base/base.py b/src/python/grpcio/grpc/framework/interfaces/base/base.py index cb3328296c..8e694e3f12 100644 --- a/src/python/grpcio/grpc/framework/interfaces/base/base.py +++ b/src/python/grpcio/grpc/framework/interfaces/base/base.py @@ -50,22 +50,23 @@ from grpc.framework.foundation import abandonment # pylint: disable=unused-impo class NoSuchMethodError(Exception): """Indicates that an unrecognized operation has been called. - Attributes: - code: A code value to communicate to the other side of the operation along - with indication of operation termination. May be None. - details: A details value to communicate to the other side of the operation - along with indication of operation termination. May be None. - """ - - def __init__(self, code, details): - """Constructor. - - Args: + Attributes: code: A code value to communicate to the other side of the operation along with indication of operation termination. May be None. details: A details value to communicate to the other side of the operation along with indication of operation termination. May be None. """ + + def __init__(self, code, details): + """Constructor. + + Args: + code: A code value to communicate to the other side of the operation + along with indication of operation termination. May be None. + details: A details value to communicate to the other side of the + operation along with indication of operation termination. May be None. + """ + super(NoSuchMethodError, self).__init__() self.code = code self.details = details |