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

Removed unused request_decorators

parent f7bb1d31
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment