Commit faf43ff9 authored by Seblu's avatar Seblu
Browse files

fix exception raising with new syntax

parent 64d26141
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -365,7 +365,7 @@ class TqlCommand(RemoteCommand):
                        self.print_objects(r, ["output"])
            return d
        except RpcError as e:
            if self.options.exception:
            if hasattr(self.options, "exception"):
                raise
            raise cmdError("RPCError: %s"%str(e))