From ecb24c5f1b4a6565f33a69e96352db9d25dc9b7b Mon Sep 17 00:00:00 2001 From: yatin karel Date: Sat, 16 Jul 2016 17:50:48 +0530 Subject: Replace deprecated LOG.warn with LOG.warning LOG.warn is deprecated. It is still used in few modules. Replaced with non-deprecated LOG.warning. Change-Id: Ia6acc11eca60c652844175a5742f626732e295e3 Closes-Bug: #1508442 --- HACKING.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'HACKING.rst') diff --git a/HACKING.rst b/HACKING.rst index 721326db4e..8f61c00862 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -62,6 +62,7 @@ Nova Specific Commandments - [N349] Check for closures in tests which are not used - [N350] Policy registration should be in the central location ``nova/policies/`` - [N351] Do not use the oslo_policy.policy.Enforcer.enforce() method. +- [N352] LOG.warn is deprecated. Enforce use of LOG.warning. Creating Unit Tests ------------------- -- cgit v1.2.1