Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-114: Eliminate repeated download of PIP packages
[csit.git]
/
resources
/
libraries
/
python
/
TrafficScriptExecutor.py
diff --git
a/resources/libraries/python/TrafficScriptExecutor.py
b/resources/libraries/python/TrafficScriptExecutor.py
index
fa44623
..
108b2b9
100644
(file)
--- a/
resources/libraries/python/TrafficScriptExecutor.py
+++ b/
resources/libraries/python/TrafficScriptExecutor.py
@@
-52,7
+52,7
@@
class TrafficScriptExecutor(object):
logger.trace("{}".format(timeout))
ssh = SSH()
ssh.connect(node)
logger.trace("{}".format(timeout))
ssh = SSH()
ssh.connect(node)
- cmd = ("cd {}; virtualenv env && " +
+ cmd = ("cd {}; virtualenv
--system-site-packages
env && " +
"export PYTHONPATH=${{PWD}}; " +
". ${{PWD}}/env/bin/activate; " +
"resources/traffic_scripts/{} {}") \
"export PYTHONPATH=${{PWD}}; " +
". ${{PWD}}/env/bin/activate; " +
"resources/traffic_scripts/{} {}") \