scripts/qmp-shell: make QMPShellError inherit QMPError
In preparation for moving qmp-shell into the qemu.qmp package, make QMPShellError inherit from QMPError so that all custom errors in this package all derive from QMPError. Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 20210607200649.1840382-39-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
a64fe44d5a
commit
6a1105adba
@ -123,7 +123,7 @@ class QMPCompleter:
|
||||
return None
|
||||
|
||||
|
||||
class QMPShellError(Exception):
|
||||
class QMPShellError(qmp.QMPError):
|
||||
pass
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user