diff options
author | Clayton Smith <argilo@gmail.com> | 2020-10-05 23:11:39 -0400 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2020-10-20 06:06:45 -0400 |
commit | b0bf93c56f8e1e0c0504e54a51856af06333ae22 (patch) | |
tree | 387cae51796b7d7c3d73594d5ce5163ae09b4592 /docs | |
parent | ddb282314af10949706596045c2711b67a0bc3f6 (diff) |
docs: remove six
Diffstat (limited to 'docs')
-rw-r--r-- | docs/doxygen/doxyxml/generated/compoundsuper.py | 6 | ||||
-rw-r--r-- | docs/doxygen/doxyxml/generated/indexsuper.py | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/docs/doxygen/doxyxml/generated/compoundsuper.py b/docs/doxygen/doxyxml/generated/compoundsuper.py index 5a72b830ca..05c49281fe 100644 --- a/docs/doxygen/doxyxml/generated/compoundsuper.py +++ b/docs/doxygen/doxyxml/generated/compoundsuper.py @@ -10,8 +10,6 @@ import sys from xml.dom import minidom from xml.dom import Node -import six - # # User methods # @@ -66,7 +64,7 @@ def showIndent(outfile, level): outfile.write(' ') def quote_xml(inStr): - s1 = (isinstance(inStr, six.string_types) and inStr or + s1 = (isinstance(inStr, str) and inStr or '%s' % inStr) s1 = s1.replace('&', '&') s1 = s1.replace('<', '<') @@ -74,7 +72,7 @@ def quote_xml(inStr): return s1 def quote_attrib(inStr): - s1 = (isinstance(inStr, six.string_types) and inStr or + s1 = (isinstance(inStr, str) and inStr or '%s' % inStr) s1 = s1.replace('&', '&') s1 = s1.replace('<', '<') diff --git a/docs/doxygen/doxyxml/generated/indexsuper.py b/docs/doxygen/doxyxml/generated/indexsuper.py index 1e9ef4382e..cc2c112418 100644 --- a/docs/doxygen/doxyxml/generated/indexsuper.py +++ b/docs/doxygen/doxyxml/generated/indexsuper.py @@ -10,8 +10,6 @@ import sys from xml.dom import minidom from xml.dom import Node -import six - # # User methods # @@ -66,7 +64,7 @@ def showIndent(outfile, level): outfile.write(' ') def quote_xml(inStr): - s1 = (isinstance(inStr, six.string_types) and inStr or + s1 = (isinstance(inStr, str) and inStr or '%s' % inStr) s1 = s1.replace('&', '&') s1 = s1.replace('<', '<') @@ -74,7 +72,7 @@ def quote_xml(inStr): return s1 def quote_attrib(inStr): - s1 = (isinstance(inStr, six.string_types) and inStr or + s1 = (isinstance(inStr, str) and inStr or '%s' % inStr) s1 = s1.replace('&', '&') s1 = s1.replace('<', '<') |