Commit 9659bfe9 authored by Antoine Millet's avatar Antoine Millet
Browse files

Removed unused request_decorators

parent f7bb1d31
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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