aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon/keystone/cmd/manage.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystone-moon/keystone/cmd/manage.py')
-rw-r--r--keystone-moon/keystone/cmd/manage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystone-moon/keystone/cmd/manage.py b/keystone-moon/keystone/cmd/manage.py
index da38278e..707c9933 100644
--- a/keystone-moon/keystone/cmd/manage.py
+++ b/keystone-moon/keystone/cmd/manage.py
@@ -20,7 +20,7 @@ import sys
# 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]),
+possible_topdir = os.path.normpath(os.path.join(os.path.abspath(__file__),
os.pardir,
os.pardir,
os.pardir))