summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-07-14 14:46:39 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-14 14:46:39 +0000
commit540a4ec575caff0f605b992ba811d55a4f0645cb (patch)
tree512e4d43c2496f5162fe4306c3a91aab496ccb60
parentd2cf3cef511ed9c00044a186b62d77def5afd3ce (diff)
parent4eb59a85b688b26901c67c030d6161ce99b9036e (diff)
Merge "Fix pip warnings"
-rwxr-xr-xci/03-maasdeploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/03-maasdeploy.sh b/ci/03-maasdeploy.sh
index 479ab039..1387e6b3 100755
--- a/ci/03-maasdeploy.sh
+++ b/ci/03-maasdeploy.sh
@@ -25,7 +25,7 @@ sudo apt-get install bridge-utils openssh-server bzr git virtinst qemu-kvm libvi
#sudo snap install maas --classic
#sudo snap install juju --classic
-sudo pip install --upgrade pip
+sudo -H pip install --upgrade pip
#first parameter should be custom and second should be either
# absolute location of file (including file name) or url of the
@@ -160,7 +160,7 @@ fi
# To avoid problem between apiclient/maas_client and apiclient from google
# we remove the package google-api-python-client from yardstick installer
-if [ $(pip list |grep google-api-python-client |wc -l) == 1 ]; then
+if [ $(pip list --format=columns | grep google-api-python-client | wc -l) == 1 ]; then
sudo pip uninstall google-api-python-client
fi