# HG changeset patch # User Sylvain Thénault # Date 1260277187 -3600 # Node ID 732eccbed54a072ab44ff2192d31bbf118cbbd08 # Parent c3a018efe7c96a713d2a2dfc6c89384c20bef10e missing groupmap propagation to rschema2rql diff -r c3a018efe7c9 -r 732eccbed54a server/schemaserial.py --- a/server/schemaserial.py Tue Dec 08 13:49:02 2009 +0100 +++ b/server/schemaserial.py Tue Dec 08 13:59:47 2009 +0100 @@ -395,7 +395,8 @@ return relations, values -def __rdef2rql(genmap, rschema, subjtype=None, objtype=None, props=None, groupmap=None): +def __rdef2rql(genmap, rschema, subjtype=None, objtype=None, props=None, + groupmap=None): if subjtype is None: assert objtype is None assert props is None @@ -445,8 +446,8 @@ def erschema2rql(erschema, groupmap): if isinstance(erschema, schemamod.EntitySchema): - return eschema2rql(erschema, groupmap) - return rschema2rql(erschema) + return eschema2rql(erschema, groupmap=groupmap) + return rschema2rql(erschema, groupmap=groupmap) def eschema2rql(eschema, groupmap): """return a list of rql insert statements to enter an entity schema