summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorCyril Roelandt <cyril.roelandt@enovance.com>2015-05-20 15:09:13 +0200
committerCyril Roelandt <cyril.roelandt@enovance.com>2015-05-21 04:03:17 +0200
commit6c1cb05302f369b3105cea73cb86a00018ada6be (patch)
treea48d4c7f4939101b58b7fdc1c55fcd62ff5e0d8a /HACKING.rst
parentd825ef947fc275da2f0b4b1f2fd2695347c492be (diff)
downloadneutron-6c1cb05302f369b3105cea73cb86a00018ada6be.tar.gz
Python 3: use six.string_types instead of basestring
In Python 3, there is no "basestring". In Python 3, "six.string_types" is "basestring", and "str" in Python 3. Change-Id: Ic22e932cbf3c4b75cd424f4b41428da869f197cf Blueprint: neutron-python3
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 ce05f7f15b..101726231d 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -15,6 +15,7 @@ Neutron Specific Commandments
- [N323] Enforce namespace-less imports for oslo libraries
- [N324] Prevent use of deprecated contextlib.nested.
- [N325] Python 3: Do not use xrange.
+- [N326] Python 3: do not use basestring.
Creating Unit Tests
-------------------