Skip to content
Snippets Groups Projects
Commit ff8ff410 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "make the kolla-ansible python3 compatible"

parents e7c3677e dd6df534
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# This script can be used to interact with kolla via ansible. # This script can be used to interact with kolla via ansible.
function find_base_dir { 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")" local dir_name="$(dirname "$real_path")"
if [[ ${dir_name} == "/usr/bin" ]]; then if [[ ${dir_name} == "/usr/bin" ]]; then
BASEDIR=/usr/share/kolla BASEDIR=/usr/share/kolla
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment