Merge "Misuse of i18n log translation to output error message"

This commit is contained in:
Jenkins 2014-06-27 06:01:27 +00:00 committed by Gerrit Code Review
commit 67e32ac546
1 changed files with 2 additions and 2 deletions

View File

@ -573,9 +573,9 @@ class LVMISCSIDriver(LVMVolumeDriver, driver.ISCSIDriver):
try:
(vg for vg in vg_list if vg['name'] == dest_vg).next()
except StopIteration:
message = ("Destination Volume Group %s does not exist" %
message = (_("Destination Volume Group %s does not exist") %
dest_vg)
LOG.error(_('%s'), message)
LOG.error(message)
return false_ret
helper = utils.get_root_helper()