mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
8dfac2edb2
commit
3797dbcbb7
2 changed files with 8 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue