aboutsummaryrefslogtreecommitdiff
path: root/tests/migration/guestperf
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2018-06-18 19:51:31 -0300
committerEduardo Habkost <ehabkost@redhat.com>2018-10-03 23:08:51 -0300
commitafb624960079f816efef14af273b2ae12757476a (patch)
treeae825b703979cec57f60a14becd1e55f3cb3e3eb /tests/migration/guestperf
parentae68fdaba9d93d8fd14ef1a1bb2e25cc250d015d (diff)
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/migration/guestperf')
-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