Merge "Replace "LOG.info(_" with "LOG.info(_LI""
This commit is contained in:
commit
c2916bb600
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue