summary refs log tree commit diff stats
path: root/python/qemu/qmp.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2020-10-06 19:57:58 -0400
committerJohn Snow <jsnow@redhat.com>2020-10-20 09:37:57 -0400
commit932ca4bbde5ed6c57a8ae0b9cabb6e0a1ca1047a (patch)
tree80ae2de74a160456be78bbdfcc6f10a6e5bd5589 /python/qemu/qmp.py
parentb8eaee96e46663c74943b529fd173ce3b9189d46 (diff)
downloadfocaccia-qemu-932ca4bbde5ed6c57a8ae0b9cabb6e0a1ca1047a.tar.gz
focaccia-qemu-932ca4bbde5ed6c57a8ae0b9cabb6e0a1ca1047a.zip
python/qemu: use isort to lay out imports
Borrowed from the QAPI cleanup series, use the same configuration to
standardize the way we write and sort imports.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 20201006235817.3280413-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/qemu/qmp.py')
-rw-r--r--python/qemu/qmp.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/qemu/qmp.py b/python/qemu/qmp.py
index 7935dababb..ddf8347ac1 100644
--- a/python/qemu/qmp.py
+++ b/python/qemu/qmp.py
@@ -7,21 +7,21 @@
 # This work is licensed under the terms of the GNU GPL, version 2.  See
 # the COPYING file in the top-level directory.
 
-import json
 import errno
-import socket
+import json
 import logging
+import socket
+from types import TracebackType
 from typing import (
     Any,
-    cast,
     Dict,
     Optional,
     TextIO,
-    Type,
     Tuple,
+    Type,
     Union,
+    cast,
 )
-from types import TracebackType
 
 
 # QMPMessage is a QMP Message of any kind.