summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Cannavale <jason@cannavale.com>2011-10-18 15:52:40 -0500
committerJason Cannavale <jason@cannavale.com>2011-10-18 15:52:45 -0500
commit2b4e9ed3f9b14c02e87ff30f25bf6add4a7374c2 (patch)
tree03a2c466dd04d4a21cffea6f3a8d59307b579ea5
parent29a87a82d9a7aba74117ef82ec44ce752fed0bbd (diff)
downloadkeystone-2b4e9ed3f9b14c02e87ff30f25bf6add4a7374c2.tar.gz
keystone-2b4e9ed3f9b14c02e87ff30f25bf6add4a7374c2.tar.xz
keystone-2b4e9ed3f9b14c02e87ff30f25bf6add4a7374c2.zip
bug lp:865448
change abspath to dirname in controllers/version.py to correct path problems. Change-Id: Ia483d4766652c6b46dadf7d97bc7dfceca1e4b9c
-rw-r--r--keystone/controllers/version.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/keystone/controllers/version.py b/keystone/controllers/version.py
index 9b965fdf..ea32c7c4 100644
--- a/keystone/controllers/version.py
+++ b/keystone/controllers/version.py
@@ -3,8 +3,7 @@ from webob import Response
# If ../../keystone/__init__.py exists, add ../ to Python search path, so that
# it will override what happens to be installed in /usr/(local/)lib/python...
-possible_topdir = os.path.normpath(os.path.join(os.path.abspath(__file__),
- os.pardir,
+possible_topdir = os.path.normpath(os.path.join(os.path.dirname(__file__),
os.pardir,
os.pardir))