From 496a640df0f40dd7afeccfd2c0a7b82f54493a11 Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Thu, 7 May 2015 13:49:20 +0000 Subject: [PATCH] Fixup more join bugs --- hooks/horizon_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/horizon_utils.py b/hooks/horizon_utils.py index bcb51b2c..06810d4d 100644 --- a/hooks/horizon_utils.py +++ b/hooks/horizon_utils.py @@ -368,7 +368,7 @@ def git_post_install(projects_yaml): pip_install('python-memcached', proxy=http_proxy, venv=True) else: pip_install('python-memcached', venv=True) - python = os.path.join(os.path.join(charm_dir(), 'venv/bin/python') + python = os.path.join(charm_dir(), 'venv/bin/python') subprocess.check_call([python, '/usr/share/openstack-dashboard/manage.py', 'collectstatic', '--noinput']) subprocess.check_call([python, '/usr/share/openstack-dashboard/manage.py', @@ -395,7 +395,7 @@ def git_post_install(projects_yaml): def git_post_install_late(): """Perform horizon post-install setup.""" - python = os.path.join(os.path.join(charm_dir(), 'venv/bin/python') + python = os.path.join(charm_dir(), 'venv/bin/python') subprocess.check_call([python, '/usr/share/openstack-dashboard/manage.py', 'collectstatic', '--noinput']) subprocess.check_call([python, '/usr/share/openstack-dashboard/manage.py',