summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEduardo Habkost2018-06-19 00:51:31 +0200
committerEduardo Habkost2018-10-04 04:08:51 +0200
commitafb624960079f816efef14af273b2ae12757476a (patch)
treeae825b703979cec57f60a14becd1e55f3cb3e3eb /tests
parentRevert "docker.py: Python 2.6 argparse compatibility" (diff)
downloadqemu-afb624960079f816efef14af273b2ae12757476a.tar.gz
qemu-afb624960079f816efef14af273b2ae12757476a.tar.xz
qemu-afb624960079f816efef14af273b2ae12757476a.zip
Revert "tests: migration/guestperf Python 2.6 argparse compatibility"
This reverts commit 0ea47d0f36112f0f38661e2e430edf32737c7f43. scripts/argparse.py was removed from the tree, so we don't need this hack anymore. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20180618225131.13113-4-ehabkost@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/migration/guestperf/shell.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/migration/guestperf/shell.py b/tests/migration/guestperf/shell.py
index a6b8cec1e0..61d2abbaad 100644
--- a/tests/migration/guestperf/shell.py
+++ b/tests/migration/guestperf/shell.py
@@ -19,14 +19,12 @@ from __future__ import print_function
#
-import os
-import os.path
-import sys
-sys.path.append(os.path.join(os.path.dirname(__file__),
- '..', '..', '..', 'scripts'))
import argparse
import fnmatch
+import os
+import os.path
import platform
+import sys
import logging
from guestperf.hardware import Hardware