Merge "Replace "LOG.info(_" with "LOG.info(_LI""

This commit is contained in:
Jenkins 2016-07-15 17:28:50 +00:00 committed by Gerrit Code Review
commit c2916bb600
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ import pecan
from magnum.api import config as api_config
from magnum.api import middleware
from magnum.common import config as common_config
from magnum.i18n import _
from magnum.i18n import _LI
# Register options for the service
API_SERVICE_OPTS = [
@ -81,7 +81,7 @@ def load_app():
if not cfg_file:
raise cfg.ConfigFilesNotFoundError([cfg.CONF.api.api_paste_config])
LOG.info(_("Full WSGI config used: %s") % cfg_file)
LOG.info(_LI("Full WSGI config used: %s"), cfg_file)
return deploy.loadapp("config:" + cfg_file)