mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
scripts/qmp-shell: apply isort rules
Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 20210607200649.1840382-2-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
88fb483fc5
commit
badf462985
1 changed files with 7 additions and 5 deletions
|
@ -65,18 +65,20 @@
|
||||||
# which will echo back the properly formatted JSON-compliant QMP that is being
|
# which will echo back the properly formatted JSON-compliant QMP that is being
|
||||||
# sent to QEMU, which is useful for debugging and documentation generation.
|
# sent to QEMU, which is useful for debugging and documentation generation.
|
||||||
|
|
||||||
import json
|
|
||||||
import ast
|
import ast
|
||||||
|
import atexit
|
||||||
|
import errno
|
||||||
|
import json
|
||||||
|
import os
|
||||||
|
import re
|
||||||
import readline
|
import readline
|
||||||
import sys
|
import sys
|
||||||
import os
|
|
||||||
import errno
|
|
||||||
import atexit
|
|
||||||
import re
|
|
||||||
|
|
||||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
|
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python'))
|
||||||
from qemu import qmp
|
from qemu import qmp
|
||||||
|
|
||||||
|
|
||||||
class QMPCompleter(list):
|
class QMPCompleter(list):
|
||||||
def complete(self, text, state):
|
def complete(self, text, state):
|
||||||
for cmd in self:
|
for cmd in self:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue