]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
HACKING: fix edge case with log hints
authorGary Kotton <gkotton@vmware.com>
Wed, 2 Dec 2015 14:52:25 +0000 (06:52 -0800)
committerGary Kotton <gkotton@vmware.com>
Wed, 2 Dec 2015 14:52:25 +0000 (06:52 -0800)
commit0ce4510b35b73c0ecb1e4a1681038058f58c3038
tree092c8755c14ad558ec4eea387943bca59b27a5cb
parent5b804251aceb9db2d226f11c03b8b1ebc2fe7fa7
HACKING: fix edge case with log hints

A log message with _() was not raised as an error, for example:
LOG.info(_('who let the dogs out!')).

This should be:
LOG.info(_LI('who who who who!'))

Change-Id: I040f01b19ff5de00467b80be7399b998534d9a57
Closes-bug: #1522054
neutron/hacking/checks.py
neutron/pecan_wsgi/hooks/translation.py
neutron/tests/unit/hacking/test_checks.py