From: John Snow Date: Mon, 7 Jun 2021 20:06:45 +0000 (-0400) Subject: scripts/qmp-shell: make QMPShellError inherit QMPError X-Git-Tag: v6.1.0-rc0~66^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a1105adba41c3cd6371437b46c045ae9ea85314;p=thirdparty%2Fqemu.git 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 Message-id: 20210607200649.1840382-39-jsnow@redhat.com Signed-off-by: John Snow --- diff --git a/scripts/qmp/qmp-shell b/scripts/qmp/qmp-shell index 40ff9e0a82b..1a8a4ba18ab 100755 --- a/scripts/qmp/qmp-shell +++ b/scripts/qmp/qmp-shell @@ -123,7 +123,7 @@ class QMPCompleter: return None -class QMPShellError(Exception): +class QMPShellError(qmp.QMPError): pass