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 /gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/generated/compoundsuper.py | |
parent | ddb282314af10949706596045c2711b67a0bc3f6 (diff) |
docs: remove six
Diffstat (limited to 'gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/generated/compoundsuper.py')
-rw-r--r-- | gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/generated/compoundsuper.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/generated/compoundsuper.py b/gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/generated/compoundsuper.py index 19c10677f1..05c49281fe 100644 --- a/gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/generated/compoundsuper.py +++ b/gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/generated/compoundsuper.py @@ -10,9 +10,6 @@ import sys from xml.dom import minidom from xml.dom import Node -import six - - # # User methods # @@ -67,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('<', '<') @@ -75,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('<', '<') |