From 9659bfe9faaf0a6aec57f829b8c6c96e21b5d587 Mon Sep 17 00:00:00 2001 From: Antoine Millet Date: Mon, 3 Oct 2011 14:08:52 +0200 Subject: [PATCH] Removed unused request_decorators --- sjrpc/core/protocols/rpc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sjrpc/core/protocols/rpc.py b/sjrpc/core/protocols/rpc.py index 0751571..2dda4e5 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 -- GitLab