Fix developer config dir flask aftermath

Before flask, the code that checked for a local developer environment
config file lived in keystone/server/wsgi.py, and checked for configs at
../../.. relative to itself. Now it lives in
keystone/server/flask/core.py but still checks the same directory depth,
leaving it one short. This patch adds another directory level to the
possible_topdir path so that the wsgi application will correctly look in
keystone/etc instead of keystone/keystone/etc.

Change-Id: If1c8d7c9bb1ea7d2642ab5c5e7f92adec33bf1f2
This commit is contained in:
Colleen Murphy 2018-11-04 19:39:55 +01:00
parent 1bc9f3356d
commit 9420fcca42
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ def initialize_application(name, post_log_configured_function=lambda: None,
os.path.abspath(__file__),
os.pardir,
os.pardir,
os.pardir,
os.pardir))
dev_conf = os.path.join(possible_topdir,