aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/machine.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/machine.py
parentb8eaee96e46663c74943b529fd173ce3b9189d46 (diff)
downloadqemu-932ca4bbde5ed6c57a8ae0b9cabb6e0a1ca1047a.zip
qemu-932ca4bbde5ed6c57a8ae0b9cabb6e0a1ca1047a.tar.gz
qemu-932ca4bbde5ed6c57a8ae0b9cabb6e0a1ca1047a.tar.bz2
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/machine.py')
-rw-r--r--python/qemu/machine.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/qemu/machine.py b/python/qemu/machine.py
index 82f3731..bc83f39 100644
--- a/python/qemu/machine.py
+++ b/python/qemu/machine.py
@@ -20,15 +20,15 @@ which provides facilities for managing the lifetime of a QEMU VM.
import errno
import logging
import os
-import subprocess
import shutil
import signal
+import subprocess
import tempfile
-from typing import Optional, Type
from types import TracebackType
-from . import console_socket
+from typing import Optional, Type
+
+from . import console_socket, qmp
-from . import qmp
LOG = logging.getLogger(__name__)