server/migractions.py
changeset 10473 23a2fa8cb725
parent 10365 21461f80f348
child 10553 1d824df4f2bd
--- a/server/migractions.py	Fri Jun 26 14:04:16 2015 +0200
+++ b/server/migractions.py	Fri Jun 26 13:04:25 2015 +0200
@@ -1276,6 +1276,7 @@
             return 'missing workflow relations, see make_workflowable(%s)' % etype
         for etype in wfof:
             eschema = self.repo.schema[etype]
+            etype = unicode(etype)
             if ensure_workflowable:
                 assert 'in_state' in eschema.subjrels, _missing_wf_rel(etype)
                 assert 'custom_workflow' in eschema.subjrels, _missing_wf_rel(etype)