]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Disallow log hints in LOG.debug
authorCedric Brandily <zzelle@gmail.com>
Mon, 8 Dec 2014 15:23:47 +0000 (15:23 +0000)
committerCedric Brandily <zzelle@gmail.com>
Mon, 8 Dec 2014 18:50:25 +0000 (19:50 +0100)
commit7bdbd6f3345e416e4f8e8c0e8f2741081ea339c6
tree7a90e32ba0e4eef75a5296656e39938c5a148f27
parent907094bf12f069fe5e1a3ca19a91df5de9029a32
Disallow log hints in LOG.debug

Currently LOG.debug(_(...)) is disallowed but not LOG.debug(_Lx(...)).
This change disallows all log hints in LOG.debug calls.

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