diff options
author | jichenjc <jichenjc@cn.ibm.com> | 2015-02-05 14:58:46 +0800 |
---|---|---|
committer | jichenjc <jichenjc@cn.ibm.com> | 2015-02-05 15:05:18 +0800 |
commit | 4dddcf3643ae178dafccef5130f7c4e043e905df (patch) | |
tree | 8977311fdbd979f25a68ef06a75584eb3463d580 /HACKING.rst | |
parent | 84e92e64c0af7406279e6866bedfd594f23510e4 (diff) | |
download | nova-4dddcf3643ae178dafccef5130f7c4e043e905df.tar.gz |
Treat LOG.warning and LOG.warn same
8510d3aaeeb18bdbe333d2d5d4c335f3732c4848 removed N331
checking, so now we need treat LOG.warn and LOG.warning
same, so this patch adds the same checking to LOG.warn.
Change-Id: Ifb3addfe116f8f7abb8750826b0217dfbd766439
Diffstat (limited to 'HACKING.rst')
-rw-r--r-- | HACKING.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/HACKING.rst b/HACKING.rst index f96b9dfb9f..3527cd235e 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -39,7 +39,7 @@ Nova Specific Commandments - [N326] Translated messages cannot be concatenated. String should be included in translated message. - [N328] Validate that LOG.info messages use _LI. - [N329] Validate that LOG.exception messages use _LE. -- [N330] Validate that LOG.warning messages use _LW. +- [N330] Validate that LOG.warning and LOG.warn messages use _LW. - [N332] Check that the api_version decorator is the first decorator on a method - [N333] Check for oslo library imports use the non-namespaced packages - [N334] Change assertTrue/False(A in/not in B, message) to the more specific |