Skip to content
Snippets Groups Projects
Commit 810e021d authored by Pierre Riteau's avatar Pierre Riteau
Browse files

Fix last return value in _get_base_path

The return value was set to the following path which is not valid:

    kayobe/kayobe/utils.py/..

The intent must have been to use dirname to produce:

    kayobe/kayobe/..

Change-Id: I9d7d71d42026f3c12da6de9c5ca55dc647554fd0
parent 1847ad3f
No related branches found
No related tags found
No related merge requests found
...@@ -90,7 +90,7 @@ def _get_base_path(): ...@@ -90,7 +90,7 @@ def _get_base_path():
return os.path.join(prefix, "share", "kayobe") return os.path.join(prefix, "share", "kayobe")
# Assume uninstalled # Assume uninstalled
return os.path.join(os.path.realpath(__file__), "..") return os.path.join(os.path.dirname(os.path.realpath(__file__)), "..")
def galaxy_role_install(role_file, roles_path, force=False): def galaxy_role_install(role_file, roles_path, force=False):
......
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