[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v6 10/10] qtest.py: Few pylint/style fixes
From: |
Lukáš Doktor |
Subject: |
[Qemu-devel] [PATCH v6 10/10] qtest.py: Few pylint/style fixes |
Date: |
Fri, 18 Aug 2017 16:26:13 +0200 |
No actual code changes, just few pylint/style fixes.
Signed-off-by: Lukáš Doktor <address@hidden>
Reviewed-by: John Snow <address@hidden>
---
scripts/qtest.py | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/scripts/qtest.py b/scripts/qtest.py
index ab183c0..df0daf2 100644
--- a/scripts/qtest.py
+++ b/scripts/qtest.py
@@ -11,14 +11,11 @@
# Based on qmp.py.
#
-import errno
import socket
-import string
import os
-import subprocess
-import qmp.qmp
import qemu
+
class QEMUQtestProtocol(object):
def __init__(self, address, server=False):
"""
@@ -83,8 +80,10 @@ class QEMUQtestMachine(qemu.QEMUMachine):
socket_scm_helper=None):
if name is None:
name = "qemu-%d" % os.getpid()
- super(QEMUQtestMachine, self).__init__(binary, args, name=name,
test_dir=test_dir,
-
socket_scm_helper=socket_scm_helper)
+ super(QEMUQtestMachine,
+ self).__init__(binary, args, name=name, test_dir=test_dir,
+ socket_scm_helper=socket_scm_helper)
+ self._qtest = None
self._qtest_path = os.path.join(test_dir, name + "-qtest.sock")
def _base_args(self):
--
2.9.4
- Re: [Qemu-devel] [PATCH v6 02/10] qemu|qtest: Avoid dangerous arguments, (continued)
- [Qemu-devel] [PATCH v6 03/10] qemu.py: Use iteritems rather than keys(), Lukáš Doktor, 2017/08/18
- [Qemu-devel] [PATCH v6 04/10] qemu.py: Simplify QMP key-conversion, Lukáš Doktor, 2017/08/18
- [Qemu-devel] [PATCH v6 05/10] qemu.py: Use custom exceptions rather than Exception, Lukáš Doktor, 2017/08/18
- [Qemu-devel] [PATCH v6 06/10] qmp.py: Couple of pylint/style fixes, Lukáš Doktor, 2017/08/18
- [Qemu-devel] [PATCH v6 07/10] qmp.py: Use object-based class for QEMUMonitorProtocol, Lukáš Doktor, 2017/08/18
- [Qemu-devel] [PATCH v6 08/10] qmp.py: Avoid "has_key" usage, Lukáš Doktor, 2017/08/18
- [Qemu-devel] [PATCH v6 09/10] qmp.py: Avoid overriding a builtin object, Lukáš Doktor, 2017/08/18
- [Qemu-devel] [PATCH v6 10/10] qtest.py: Few pylint/style fixes,
Lukáš Doktor <=
- Re: [Qemu-devel] [PATCH v6 00/10] qemu.py: Pylint/style fixes, John Snow, 2017/08/21
- Re: [Qemu-devel] [PATCH v6 00/10] qemu.py: Pylint/style fixes, Paolo Bonzini, 2017/08/22
- Re: [Qemu-devel] [PATCH v6 00/10] qemu.py: Pylint/style fixes, John Snow, 2017/08/22
- Re: [Qemu-devel] [PATCH v6 00/10] qemu.py: Pylint/style fixes, Eduardo Habkost, 2017/08/22
Re: [Qemu-devel] [PATCH v6 00/10] qemu.py: Pylint/style fixes, Eduardo Habkost, 2017/08/30