aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-01-06 14:43:18 +0000
committerGerrit Code Review <review@openstack.org>2016-01-06 14:43:18 +0000
commitff8ff410ca73733fef99e32ea3c56f0b359836f6 (patch)
tree1f8c313563bd6dfdd0a25bfec4f5bf71c3461c13
parente7c3677e5aba1ce7b1d69af2d6367fda98b3d21a (diff)
parentdd6df534cf109422103763953bd424a33ebaae9a (diff)
downloadkolla-ff8ff410ca73733fef99e32ea3c56f0b359836f6.tar.gz
kolla-ff8ff410ca73733fef99e32ea3c56f0b359836f6.zip
Merge "make the kolla-ansible python3 compatible"
-rwxr-xr-xtools/kolla-ansible2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/kolla-ansible b/tools/kolla-ansible
index 7543b8544..99ee50d0c 100755
--- a/tools/kolla-ansible
+++ b/tools/kolla-ansible
@@ -3,7 +3,7 @@
# This script can be used to interact with kolla via ansible.
function find_base_dir {
- local real_path=$(python -c "import os,sys;print os.path.realpath('$0')")
+ local real_path=$(python -c "import os;print(os.path.realpath('$0'))")
local dir_name="$(dirname "$real_path")"
if [[ ${dir_name} == "/usr/bin" ]]; then
BASEDIR=/usr/share/kolla