summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Yang <Bin.Yang@windriver.com>2019-10-08 02:18:34 +0000
committerBin Yang <Bin.Yang@windriver.com>2019-10-08 02:18:34 +0000
commit822c26fbea5fddd8fc2444d85eb39f5fd6cb856e (patch)
tree70672967fd18d01f9ae726aeb079a9f7deccb152
parentf923c6bc0c7c33fe69347c4e6a929cd8045263a7 (diff)
Fix py3 incompatibility
Change to py2.7 Issue-ID: MULTICLOUD-857 Signed-off-by: Bin Yang <Bin.Yang@windriver.com> Change-Id: I2d88e3e0d326868a5e3db2a48aa0dadf52201f9d
-rwxr-xr-xazure/sonar.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/azure/sonar.sh b/azure/sonar.sh
index 9ed0168..c5b06df 100755
--- a/azure/sonar.sh
+++ b/azure/sonar.sh
@@ -51,7 +51,7 @@ run_tox_test()
DIR=$(echo "$TOXINI" | rev | cut -f2- -d'/' | rev)
cd "${CURDIR}/${DIR}"
rm -rf ./venv-tox ./.tox
- virtualenv ./venv-tox
+ virtualenv ./venv-tox --python=python2.7
source ./venv-tox/bin/activate
pip install --upgrade pip
pip install --upgrade tox argparse