Merge "Apply pep8 check to app.wsgi"

This commit is contained in:
Zuul 2017-11-28 10:48:20 +00:00 committed by Gerrit Code Review
commit 46abb64450
2 changed files with 2 additions and 3 deletions

View File

@ -49,6 +49,7 @@ show-source = True
ignore = E123,E125
enable-extensions=H106,H203
builtins = _
filename = *.py,app.wsgi
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
[hacking]

View File

@ -13,11 +13,9 @@
"""Use this file for deploying the API under mod_wsgi.
See http://pecan.readthedocs.org/en/latest/deployment.html for details.
"""
from oslo_config import cfg
from vitrage.api import app
from vitrage import service
# Initialize the oslo configuration library and logging
conf = service.prepare_service()
application = app.load_app(conf)
application = app.load_app(conf)