summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorjiansong <jian.song@easystack.cn>2017-02-09 20:01:36 -0800
committerjiansong <jian.song@easystack.cn>2017-11-12 22:37:02 -0800
commit285adb6c1bff62456cb919f3a3132d30fdfbe71d (patch)
treeb2b14346ea60b1b9ee8405c59cde56ac5d7defdd /HACKING.rst
parent989451ae9188299ae75d7c3434522250665513df (diff)
downloadtrove-285adb6c1bff62456cb919f3a3132d30fdfbe71d.tar.gz
For Python 3 Common patterns-six string
Replace basestring with six.string_types and add a hacking rule to check it. This modification refers to neutron and merge translation_checks into checks .Follow-up will modify the other on the python3 common Change-Id: I66d58ecaf664705660bbeb85058ad3cd092ef82f reference:https://github.com/openstack/neutron/tree/master/neutron/hacking
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/HACKING.rst b/HACKING.rst
index ae080f56..bceaba41 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -4,4 +4,4 @@ Trove Library Specific Commandments
- [T101] Validate that LOG messages, except debug ones, are translated
- [T102] Validate that debug level logs are not translated
- [T103] Exception messages should be translated
-
+- [T104] Python 3 is not support basestring,replace basestring with six.string_types