diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-07-31 18:50:53 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-07-31 18:50:53 +0000 |
commit | f143efd61c874ff6d8e18073d7f2f716abad9864 (patch) | |
tree | 1f4db1b9f5431ba726799fe0534866fcd8af2549 | |
parent | 64bb89c6a0946bb696645bb8176f596faad86d84 (diff) | |
parent | 11b2a73549df60bdd19aecb98dc4b9e71a40c0ac (diff) |
Merge "NSBperf: don't exit during import time"
-rwxr-xr-x | yardstick/cmd/NSBperf.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/yardstick/cmd/NSBperf.py b/yardstick/cmd/NSBperf.py index 4e7590ea5..2dc0f65e7 100755 --- a/yardstick/cmd/NSBperf.py +++ b/yardstick/cmd/NSBperf.py @@ -30,13 +30,6 @@ from six.moves import input CLI_PATH = os.path.dirname(os.path.realpath(__file__)) REPO_PATH = os.path.abspath(os.path.join(CLI_PATH, os.pardir)) -PYTHONPATH = os.environ.get("PYTHONPATH", False) -VIRTUAL_ENV = os.environ.get("VIRTUAL_ENV", False) - - -if not PYTHONPATH or not VIRTUAL_ENV: - print("Please setup env PYTHONPATH & VIRTUAL_ENV environment varaible.") - raise SystemExit(1) def sigint_handler(*args, **kwargs): |