From 810e021d8bdca17b1e217569f9bf24f917f6810d Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Mon, 25 Sep 2023 18:43:07 +0200 Subject: [PATCH] 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 --- kayobe/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kayobe/utils.py b/kayobe/utils.py index 77cf3b18a..509e9f507 100644 --- a/kayobe/utils.py +++ b/kayobe/utils.py @@ -90,7 +90,7 @@ def _get_base_path(): return os.path.join(prefix, "share", "kayobe") # 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):