From e18e50edf8d20c16a24df1b6e70863cf2fcfdb66 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Mon, 29 Feb 2016 09:41:25 -0600 Subject: [PATCH] We recently added a check when deploying the keystone.wsgi script that would allow it to be smart enough to handle the keystone stable/liberty codebase and master. This change was using 2015 as the keystone version but for stable/liberty this has changed to 8. This patch makes it so that the wsgi script matches what PBR gives back for stable/liberty deployments. --- templates/keystone-wsgi.py.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/keystone-wsgi.py.j2 b/templates/keystone-wsgi.py.j2 index 53d0e46e..7a84c94e 100644 --- a/templates/keystone-wsgi.py.j2 +++ b/templates/keystone-wsgi.py.j2 @@ -23,7 +23,7 @@ import pbr.version _version_ = pbr.version.VersionInfo('keystone').version_string() #TODO(cloudnull) This should be removed in the N time frame -if '2015' in _version_: +if '8' in _version_: from keystone.server import wsgi as wsgi_server name = os.path.basename(__file__) application = wsgi_server.initialize_application(name)