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:
John Snow 2021-06-07 16:06:45 -04:00
parent a64fe44d5a
commit 6a1105adba

View File

@ -123,7 +123,7 @@ class QMPCompleter:
return None
class QMPShellError(Exception):
class QMPShellError(qmp.QMPError):
pass