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>
master
John Snow 2021-06-07 16:06:45 -04:00
parent a64fe44d5a
commit 6a1105adba
1 changed files with 1 additions and 1 deletions

View File

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