diff --git a/sjrpc/utils/proxies.py b/sjrpc/utils/proxies.py index c740213bcb7bde5486220f17059d745fe5f939c2..c4e835549a0699dabe969f5cb08bc56820033006 100644 --- a/sjrpc/utils/proxies.py +++ b/sjrpc/utils/proxies.py @@ -23,12 +23,12 @@ class ConnectionProxy(object): ''' def __init__(self, connection): - self._connection = connection + self.connection = connection def __getattr__(self, name): def func(*args, **kwargs): try: - returned = self._connection.call(name, *args, **kwargs) + returned = self.connection.call(name, *args, **kwargs) except RpcError as err: expt = __builtins__.get(err.exception) if expt is not None: