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:
parent
1bc9f3356d
commit
9420fcca42
@ -145,6 +145,7 @@ def initialize_application(name, post_log_configured_function=lambda: None,
|
|||||||
os.path.abspath(__file__),
|
os.path.abspath(__file__),
|
||||||
os.pardir,
|
os.pardir,
|
||||||
os.pardir,
|
os.pardir,
|
||||||
|
os.pardir,
|
||||||
os.pardir))
|
os.pardir))
|
||||||
|
|
||||||
dev_conf = os.path.join(possible_topdir,
|
dev_conf = os.path.join(possible_topdir,
|
||||||
|
Loading…
Reference in New Issue
Block a user