[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PATCH v2 6/8] iotests.py: tiny refactor: move system impor

From: Vladimir Sementsov-Ogievskiy
Subject: [Qemu-block] [PATCH v2 6/8] iotests.py: tiny refactor: move system imports up
Date: Mon, 12 Mar 2018 18:21:24 +0300

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Reviewed-by: Eric Blake <address@hidden>

v2: add Eric's r-b

 tests/qemu-iotests/iotests.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py
index 1bcc9ca57d..c1302a2f9b 100644
--- a/tests/qemu-iotests/iotests.py
+++ b/tests/qemu-iotests/iotests.py
@@ -23,13 +23,14 @@ import subprocess
 import string
 import unittest
 import sys
-sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'scripts'))
-import qtest
 import struct
 import json
 import signal
 import logging
+sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'scripts'))
+import qtest
 # This will not work if arguments contain spaces but is necessary if we
 # want to support the override options that ./check supports.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]