summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorRamana Juvvadi <rjuvvadi@hcl.com>2011-05-07 23:25:31 -0500
committerRamana Juvvadi <rjuvvadi@hcl.com>2011-05-07 23:25:31 -0500
commit71cd6006bd29b804560b564bfff2d9b1609b94bd (patch)
treea6eddc03aa13aabc01b5dcbdf14b0f189b2d4faf /bin
parent3eb1f32f15b0ed128220c4a5afd40e23e331ca6a (diff)
in the middle of get_version_info
Diffstat (limited to 'bin')
-rw-r--r--bin/scripts/keystone-control3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/scripts/keystone-control b/bin/scripts/keystone-control
index fec3bdfe..5982a137 100644
--- a/bin/scripts/keystone-control
+++ b/bin/scripts/keystone-control
@@ -26,10 +26,11 @@ import optparse
import os
import sys
-# If ../glance/__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,
os.pardir))
if os.path.exists(os.path.join(possible_topdir, 'keystone', '__init__.py')):
sys.path.insert(0, possible_topdir)