Merge "remove locals() for stringformat"

This commit is contained in:
Jenkins
2013-09-30 14:43:19 +00:00
committed by Gerrit Code Review

View File

@@ -231,7 +231,7 @@ class AlarmNotifierService(rpc_service.Service):
except Exception:
LOG.error(
_("Unable to parse action %(action)s for alarm %(alarm_id)s"),
locals())
{'action': action, 'alarm_id': alarm_id})
return
try:
@@ -241,7 +241,7 @@ class AlarmNotifierService(rpc_service.Service):
LOG.error(
_("Action %(scheme)s for alarm %(alarm_id)s is unknown, "
"cannot notify"),
locals())
{'scheme': scheme, 'alarm_id': alarm_id})
return
try: