Loading sjrpc/utils/proxies.py +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ class ConnectionProxy(object): try: returned = self.connection.call(name, *args, **kwargs) except RpcError as err: expt = __builtins__.get(err.exception) expt = getattr(__builtins__, err.exception) if expt is not None: raise expt(err.message) else: Loading Loading
sjrpc/utils/proxies.py +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ class ConnectionProxy(object): try: returned = self.connection.call(name, *args, **kwargs) except RpcError as err: expt = __builtins__.get(err.exception) expt = getattr(__builtins__, err.exception) if expt is not None: raise expt(err.message) else: Loading