cubicweb/web/views/workflow.py
changeset 12567 26744ad37953
parent 12503 b01dd0ef43aa
--- a/cubicweb/web/views/workflow.py	Fri Apr 05 17:21:14 2019 +0200
+++ b/cubicweb/web/views/workflow.py	Fri Apr 05 17:58:19 2019 +0200
@@ -24,8 +24,6 @@
 
 from cubicweb import _
 
-from six import text_type
-
 from logilab.mtconverter import xml_escape
 
 from cubicweb import Unauthorized
@@ -309,7 +307,7 @@
     wf = req.entity_from_eid(wfeid)
     rschema = req.vreg.schema[field.name]
     param = 'toeid' if field.role == 'subject' else 'fromeid'
-    return sorted((e.view('combobox'), text_type(e.eid))
+    return sorted((e.view('combobox'), str(e.eid))
                   for e in getattr(wf, 'reverse_%s' % wfrelation)
                   if rschema.has_perm(req, 'add', **{param: e.eid}))