diff --git a/bin/keystone-all b/bin/keystone-all index 7645a949db..1402b92de2 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) diff --git a/bin/keystone-manage b/bin/keystone-manage index e551c47e2f..b440ad15a6 100755 --- a/bin/keystone-manage +++ b/bin/keystone-manage @@ -3,7 +3,7 @@ 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,