From: Eduardo Habkost <ehabkost@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Daniel P. Berrange" <berrange@redhat.com>,
"Cleber Rosa" <crosa@redhat.com>, "Fam Zheng" <famz@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>
Subject: [Qemu-devel] [PATCH 3/3] Revert "tests: migration/guestperf Python 2.6 argparse compatibility"
Date: Mon, 18 Jun 2018 19:51:31 -0300 [thread overview]
Message-ID: <20180618225131.13113-4-ehabkost@redhat.com> (raw)
In-Reply-To: <20180618225131.13113-1-ehabkost@redhat.com>
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>
---
tests/migration/guestperf/shell.py | 8 +++-----
1 file 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
--
2.18.0.rc1.1.g3f1ff2140
next prev parent reply other threads:[~2018-06-18 22:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-18 22:51 [Qemu-devel] [PATCH 0/3] python: Revert sys.path hacks used for compat modules Eduardo Habkost
2018-06-18 22:51 ` [Qemu-devel] [PATCH 1/3] device-crash-test: No need for sys.path hack Eduardo Habkost
2018-06-19 8:54 ` Daniel P. Berrangé
2018-06-18 22:51 ` [Qemu-devel] [PATCH 2/3] Revert "docker.py: Python 2.6 argparse compatibility" Eduardo Habkost
2018-06-19 8:55 ` Daniel P. Berrangé
2018-06-18 22:51 ` Eduardo Habkost [this message]
2018-06-19 8:55 ` [Qemu-devel] [PATCH 3/3] Revert "tests: migration/guestperf " Daniel P. Berrangé
2018-06-19 0:41 ` [Qemu-devel] [PATCH 0/3] python: Revert sys.path hacks used for compat modules no-reply
2018-06-20 15:39 ` Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180618225131.13113-4-ehabkost@redhat.com \
--to=ehabkost@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--cc=crosa@redhat.com \
--cc=f4bug@amsat.org \
--cc=famz@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).