cubicweb/web/views/debug.py
changeset 12567 26744ad37953
parent 12026 c21b399c9269
--- a/cubicweb/web/views/debug.py	Fri Apr 05 17:21:14 2019 +0200
+++ b/cubicweb/web/views/debug.py	Fri Apr 05 17:58:19 2019 +0200
@@ -21,8 +21,6 @@
 
 from time import strftime, localtime
 
-from six import text_type
-
 from logilab.mtconverter import xml_escape
 
 from cubicweb.predicates import none_rset, match_user_groups
@@ -98,7 +96,7 @@
             if k.endswith('_cache_size'):
                 stats[k] = '%s / %s' % (stats[k]['size'], stats[k]['maxsize'])
         def format_stat(sname, sval):
-            return '%s %s' % (xml_escape(text_type(sval)),
+            return '%s %s' % (xml_escape(str(sval)),
                               sname.endswith('percent') and '%' or '')
         pyvalue = [(sname, format_stat(sname, sval))
                     for sname, sval in sorted(stats.items())]