Fix py3 incompatibility 02/96702/1
authorBin Yang <Bin.Yang@windriver.com>
Tue, 8 Oct 2019 02:18:34 +0000 (02:18 +0000)
committerBin Yang <Bin.Yang@windriver.com>
Tue, 8 Oct 2019 02:18:34 +0000 (02:18 +0000)
Change to py2.7

Issue-ID: MULTICLOUD-857
Signed-off-by: Bin Yang <Bin.Yang@windriver.com>
Change-Id: I2d88e3e0d326868a5e3db2a48aa0dadf52201f9d

azure/sonar.sh

index 9ed0168..c5b06df 100755 (executable)
@@ -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