diff options
author | sonu.kumar <sonu.kumar@nectechnologies.in> | 2016-06-13 12:00:59 +0530 |
---|---|---|
committer | sonu <sonu.kumar@nectechnologies.in> | 2016-09-22 04:16:53 +0000 |
commit | 059d257b94b6e1dfb9ee5640360d2213ff63d198 (patch) | |
tree | 215c77e51ec732781e102aa87b85d908fc1d30db /HACKING.rst | |
parent | 48a4fee10f9307d3368e40028e7ba602fcc40449 (diff) | |
download | nova-059d257b94b6e1dfb9ee5640360d2213ff63d198.tar.gz |
Add hacking checks for xrange()
Partially-Implements: blueprint goal-python35
Change-Id: Iea2e9e5d5782b898ba5b18314745962cc059a213
Diffstat (limited to 'HACKING.rst')
-rw-r--r-- | HACKING.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst index 8c09f530a0..4ef3f28752 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -37,6 +37,7 @@ Nova Specific Commandments - [N324] Ensure that jsonutils.%(fun)s must be used instead of json.%(fun)s - [N325] str() and unicode() cannot be used on an exception. Remove use or use six.text_type() - [N326] Translated messages cannot be concatenated. String should be included in translated message. +- [N327] Do not use xrange(). xrange() is not compatible with Python 3. Use range() or six.moves.range() instead. - [N328] Validate that LOG.info messages use _LI. - [N329] Validate that LOG.exception messages use _LE. - [N330] Validate that LOG.warning and LOG.warn messages use _LW. |