Commit 2b5d5c9c authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed error with sjrpc proxy exception translation

This actually fix the "'module' object has no attribute 'get'" error.
parent 056a4e26
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: