[migration] Avoid seeing internal schema object during migration 0.10.5 centos/0.10.5-1 debian/0.10.5-1
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 20 Jul 2017 16:12:24 +0200
changeset 2657 141f3f7f71a0
parent 2656 55640d66a87e
child 2658 2849b0757245
[migration] Avoid seeing internal schema object during migration
cubicweb_seda/migration/0.10.4_Any.py
--- a/cubicweb_seda/migration/0.10.4_Any.py	Thu Jul 20 16:05:09 2017 +0200
+++ b/cubicweb_seda/migration/0.10.4_Any.py	Thu Jul 20 16:12:24 2017 +0200
@@ -11,5 +11,5 @@
     except KeyError:
         print('junk detected in database schema', rdef)
     else:
-        sync_schema_props_perms((rdef.subject, rdef.rtype, rdef.object),
+        sync_schema_props_perms((str(rdef.subject), str(rdef.rtype), str(rdef.object)),
                                 syncprops=False)