]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
hacking: Check if correct log markers are used
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Tue, 25 Nov 2014 04:53:02 +0000 (13:53 +0900)
committerGary Kotton <gkotton@vmware.com>
Sun, 30 Nov 2014 08:24:50 +0000 (00:24 -0800)
commitfda6226a345c709da3facc464826344b6b05e994
tree4e6f76f3d96e36e758e5452799a0d3d8ca0f98f2
parent6c02a9abf4b29ae7f11aa42555d4e4ecff177c00
hacking: Check if correct log markers are used

Makes the check tighter and would detect mistakes
like LOG.info(_LE("foo")).

This would reduce reviewer loads for relevant changes.

Partial-Bug: #1320867
Change-Id: I66c7ab1fd9b40beb857dc6c4b143ca47a5ebce4b
neutron/hacking/checks.py
neutron/tests/unit/test_hacking.py