Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
python-keystoneclient
0001-Make-ROOTDIR-determination-more-robust.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Make-ROOTDIR-determination-more-robust.patch of Package python-keystoneclient
From 9a82a5ac543ea4af957602d171e1492e637133d2 Mon Sep 17 00:00:00 2001 From: Dirk Mueller <dirk@dmllr.de> Date: Fri, 27 Sep 2013 17:00:19 +0200 Subject: [PATCH] Make ROOTDIR determination more robust This change is needed when keystone/ is a symlink and etc is in a different directory hierarchy. Change-Id: Ice9165ef25ec0200ccfb50c2f2f3121a136652a2 --- keystoneclient/tests/client_fixtures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: python-keystoneclient-0.3.2.78.gbaa9490/keystoneclient/tests/client_fixtures.py =================================================================== --- python-keystoneclient-0.3.2.78.gbaa9490.orig/keystoneclient/tests/client_fixtures.py +++ python-keystoneclient-0.3.2.78.gbaa9490/keystoneclient/tests/client_fixtures.py @@ -22,8 +22,8 @@ from keystoneclient.openstack.common imp from keystoneclient import utils -CLIENTDIR = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) -ROOTDIR = os.path.dirname(CLIENTDIR) +ROOTDIR = os.path.normpath(os.path.join( + os.path.dirname(os.path.abspath(__file__)), "../..")) CERTDIR = os.path.join(ROOTDIR, 'examples', 'pki', 'certs') CMSDIR = os.path.join(ROOTDIR, 'examples', 'pki', 'cms') KEYDIR = os.path.join(ROOTDIR, 'examples', 'pki', 'private')
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor