Merge "Use correct LOG translation indicator for errors"

This commit is contained in:
Jenkins 2015-05-06 17:46:24 +00:00 committed by Gerrit Code Review
commit 82af9b7253

View File

@ -59,8 +59,8 @@ def _convert_to_integers(id_value):
try:
id_int = int(id_value)
except ValueError as e:
msg = ('Unable to convert Keystone user or group ID. Error: %s', e)
LOG.error(msg)
msg = _LE('Unable to convert Keystone user or group ID. Error: %s')
LOG.error(msg, e)
raise
return id_int