diff options
author | Mark McLoughlin <markmc@redhat.com> | 2012-02-22 20:56:51 +0000 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2012-02-22 20:56:51 +0000 |
commit | 13dfd219c53edad405008a2a149c14ad6f780800 (patch) | |
tree | 0a5425100a9a6662e129c483b2697edf1b2123a0 /bin/keystone-all | |
parent | 9742dc0673e3e54b1bbc427a170103a0caca23e7 (diff) | |
download | keystone-13dfd219c53edad405008a2a149c14ad6f780800.tar.gz keystone-13dfd219c53edad405008a2a149c14ad6f780800.tar.xz keystone-13dfd219c53edad405008a2a149c14ad6f780800.zip |
Fix thinko in keystone-all sys.path hack
We shouldn't be looking for keystone-all/__init__.py
Change-Id: I833342cbc3d0fff3168d31d72d1c7e8b029e32fd
Diffstat (limited to 'bin/keystone-all')
-rwxr-xr-x | bin/keystone-all | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/keystone-all b/bin/keystone-all index 7645a949..1402b92d 100755 --- a/bin/keystone-all +++ b/bin/keystone-all @@ -6,13 +6,13 @@ import logging import os import sys -# If ../../keystone/__init__.py exists, add ../ to Python search path, so that +# 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(sys.argv[0]), os.pardir, os.pardir)) if os.path.exists(os.path.join(possible_topdir, - 'keystone-all', + 'keystone', '__init__.py')): sys.path.insert(0, possible_topdir) |