summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-07-31 18:50:53 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-31 18:50:53 +0000
commitf143efd61c874ff6d8e18073d7f2f716abad9864 (patch)
tree1f4db1b9f5431ba726799fe0534866fcd8af2549
parent64bb89c6a0946bb696645bb8176f596faad86d84 (diff)
parent11b2a73549df60bdd19aecb98dc4b9e71a40c0ac (diff)
Merge "NSBperf: don't exit during import time"
-rwxr-xr-xyardstick/cmd/NSBperf.py7
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):