Replace "LOG.warn(_" with "LOG.(_LW"

Follow http://docs.openstack.org/developer/oslo.i18n/guidelines.html:
If a common message is not being used, they should each betreated
separately with respect to choosing a marker function.So this patch
is to fix it.

Change-Id: Id122aa6395c534bee5287264c8951181f08d6f19
Closes-Bug: #1600788
This commit is contained in:
weiweigu 2016-07-12 21:12:04 +08:00
parent 02fd711d7d
commit 14ccf5986e
1 changed files with 2 additions and 2 deletions

View File

@ -249,8 +249,8 @@ class OVAImageExtractor(object):
'CIM_ProcessorAllocationSettingData '
'properties.'))
else:
LOG.warn(_('OVF properties config file "ovf-metadata.json" was '
'not found.'))
LOG.warn(_LW('OVF properties config file "ovf-metadata.json" was '
'not found.'))
def get_flow(**kwargs):