Skip to content

Commit

Permalink
fix pylint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Oct 9, 2024
1 parent 9b5211d commit 23dd4d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libqmpbackup/qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def command(self, cmd, **kwds):
"""Execute command"""
ret = self.cmd(cmd, kwds)
if "error" in ret:
raise Exception(ret["error"]["desc"])
raise RuntimeError(ret["error"]["desc"])
return ret["return"]

def close(self):
Expand Down

0 comments on commit 23dd4d8

Please sign in to comment.