cubicweb/wfutils.py
changeset 12567 26744ad37953
parent 12355 c703dc95c82e
--- a/cubicweb/wfutils.py	Fri Apr 05 17:21:14 2019 +0200
+++ b/cubicweb/wfutils.py	Fri Apr 05 17:58:19 2019 +0200
@@ -45,8 +45,6 @@
 
 import collections
 
-from six import text_type
-
 from cubicweb import NoResultError
 
 
@@ -91,7 +89,6 @@
                     by calling :func:`cleanupworkflow`.
     :return: The created/updated workflow entity
     """
-    name = text_type(name)
     try:
         wf = cnx.find('Workflow', name=name).one()
     except NoResultError: