]> Git Repo - qemu.git/commitdiff
qtest.py: Few pylint/style fixes
authorLukáš Doktor <[email protected]>
Fri, 18 Aug 2017 14:26:13 +0000 (16:26 +0200)
committerEduardo Habkost <[email protected]>
Fri, 15 Sep 2017 23:12:00 +0000 (20:12 -0300)
No actual code changes, just few pylint/style fixes.

Signed-off-by: Lukáš Doktor <[email protected]>
Reviewed-by: John Snow <[email protected]>
Message-Id: <20170818142613[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
scripts/qtest.py

index ab183c0635d48cdfef733aa2fabaa0dd1c49d8eb..df0daf26ca34d0f6350efde48240c94567ffefc6 100644 (file)
 # 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):
This page took 0.023243 seconds and 4 git commands to generate.