cubicweb/web/views/pyviews.py
changeset 12567 26744ad37953
parent 11767 432f87a63057
--- a/cubicweb/web/views/pyviews.py	Fri Apr 05 17:21:14 2019 +0200
+++ b/cubicweb/web/views/pyviews.py	Fri Apr 05 17:58:19 2019 +0200
@@ -18,10 +18,6 @@
 """Basic views for python values (eg without any result set)
 """
 
-
-from six import text_type
-from six.moves import range
-
 from cubicweb.view import View
 from cubicweb.predicates import match_kwargs
 from cubicweb.web.views import tableview
@@ -41,7 +37,7 @@
             w(self.empty_cell_content)
 
     def render_cell(self, w, rownum):
-        w(text_type(self.data[rownum][self.colid]))
+        w(str(self.data[rownum][self.colid]))
 
 
 class PyValTableView(tableview.TableMixIn, View):