diff --git a/sjrpc/core/protocols/rpc.py b/sjrpc/core/protocols/rpc.py index 0751571548fc36d477ee938eb0b4d0dadaf6933a..2dda4e5af987b8a5803c3ac83bd490540e69ba0e 100644 --- a/sjrpc/core/protocols/rpc.py +++ b/sjrpc/core/protocols/rpc.py @@ -28,11 +28,10 @@ class RpcProtocol(Protocol): SPECIAL_MESSAGE = {'special': None} def __init__(self, connection, label, handler=None, on_disconnect=None, - request_decorator=None, timeout=30, *args, **kwargs): + timeout=30, *args, **kwargs): super(RpcProtocol, self).__init__(connection, label, *args, **kwargs) self._handler = handler self._on_disconnect = on_disconnect - self.request_decorator = request_decorator self._call_timeout = timeout # Store all calls sent to the peer. Key is the id of the call and value