aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/machine.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2020-05-14 01:53:42 -0400
committerPhilippe Mathieu-Daudé <philmd@redhat.com>2020-05-31 18:25:31 +0200
commit3797dbcbb7bf1dffdd74ef84b5b21ed9c825e171 (patch)
tree8b21b3ae8ffbbabc237b437c83d26de27734c250 /python/qemu/machine.py
parent8dfac2edb2146d87b25543c70e25723f3d4dbd60 (diff)
downloadqemu-3797dbcbb7bf1dffdd74ef84b5b21ed9c825e171.zip
qemu-3797dbcbb7bf1dffdd74ef84b5b21ed9c825e171.tar.gz
qemu-3797dbcbb7bf1dffdd74ef84b5b21ed9c825e171.tar.bz2
python/qemu: remove Python2 style super() calls
Use the Python3 style instead. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200514055403.18902-12-jsnow@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'python/qemu/machine.py')
-rw-r--r--python/qemu/machine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qemu/machine.py b/python/qemu/machine.py
index 187790c..95a20a1 100644
--- a/python/qemu/machine.py
+++ b/python/qemu/machine.py
@@ -55,7 +55,7 @@ class MonitorResponseError(qmp.QMPError):
desc = reply["error"]["desc"]
except KeyError:
desc = reply
- super(MonitorResponseError, self).__init__(desc)
+ super().__init__(desc)
self.reply = reply