summaryrefslogtreecommitdiff
path: root/osprofiler/hacking
diff options
context:
space:
mode:
authorwangzihao <wangzihao@yovole.com>2020-10-12 19:39:10 +0800
committerwangzihao <wangzihao@yovole.com>2020-12-17 17:51:56 +0800
commitadc39e86acb1c705d39e1abd908018e5e6b2f4c5 (patch)
treeff8645f151c63bf0cc9ee4197d42dc645bf9df63 /osprofiler/hacking
parent2794b9828ccf0a8b1eafcc8dee4be1c3714c9b68 (diff)
downloadosprofiler-adc39e86acb1c705d39e1abd908018e5e6b2f4c5.tar.gz
Remove six
Remove six Replace the following items with Python 3 style code. - six.moves - six.StringIO - six.add_metaclass - six.string_types - six.binary_type - six.text_type - six.integer_types - six.PY3 - six.PY2 - six.iterkeys Change-Id: Id9f2076be1a6a2d99db5acb682df8bebe893de36
Diffstat (limited to 'osprofiler/hacking')
-rw-r--r--osprofiler/hacking/checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/osprofiler/hacking/checks.py b/osprofiler/hacking/checks.py
index 2723210..3ac17b5 100644
--- a/osprofiler/hacking/checks.py
+++ b/osprofiler/hacking/checks.py
@@ -364,7 +364,7 @@ def check_using_unicode(logical_line, filename):
if re.search(r"\bunicode\(", logical_line):
yield (0, "N353 'unicode' function is absent in python3. Please "
- "use 'six.text_type' instead.")
+ "use 'str' instead.")
@core.flake8ext