[yams] follow yams 0.39 api change introduced by ad95fd2c46de (package attribute on etype/rtype/rdef)
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 17 Dec 2013 14:50:29 +0100
changeset 9365 71c12e778162
parent 9364 73bd5012336f
child 9366 bcbc92223b35
[yams] follow yams 0.39 api change introduced by ad95fd2c46de (package attribute on etype/rtype/rdef)
hooks/syncschema.py
--- a/hooks/syncschema.py	Thu Nov 14 12:26:29 2013 +0100
+++ b/hooks/syncschema.py	Tue Dec 17 14:50:29 2013 +0100
@@ -101,7 +101,7 @@
         if (specialization, rdefdef.object) in rschema.rdefs:
             continue
         sperdef = RelationDefinitionSchema(specialization, rschema,
-                                           object, props)
+                                           object, None, values=props)
         ss.execschemarql(session.execute, sperdef,
                          ss.rdef2rql(sperdef, cstrtypemap, groupmap))