summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorDavanum Srinivas <davanum@gmail.com>2015-09-28 21:46:51 -0400
committerDavanum Srinivas (dims) <davanum@gmail.com>2015-10-16 17:26:27 +0000
commit32246daee44a5255f95647854f706dc7cfdbc2bb (patch)
tree47e1da330ed4012a6bdfd1e8b47ad2be7185a6d6 /HACKING.rst
parent16111bd236c331648d15eca44bebc7256e331f67 (diff)
downloadnova-32246daee44a5255f95647854f706dc7cfdbc2bb.tar.gz
hacking check for contextlib.nested for py34 support
Removed use of contextlib.nested call from codebase as contextlib.nested is not compatible with Python 3. Added hacking check to catch if any new instances are added to the codebase. Change-Id: Ib78102bc013e4cc91ba54d79aa2815f4cf9f446d
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 61785b2e25..5b769c1933 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -51,6 +51,7 @@ Nova Specific Commandments
assertIn/NotIn(A, B)
- [N339] Check common raise_feature_not_supported() is used for v2.1 HTTPNotImplemented response.
- [N340] Check nova.utils.spawn() is used instead of greenthread.spawn() and eventlet.spawn()
+- [N341] contextlib.nested is deprecated
Creating Unit Tests
-------------------