author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Mon, 17 Oct 2011 19:27:54 +0200 | |
changeset 7964 | 4ea2abc83dce |
parent 7963 | 059914a691a9 |
child 7965 | d45c0eb39e72 |
--- a/entity.py Mon Oct 17 15:08:25 2011 +0200 +++ b/entity.py Mon Oct 17 19:27:54 2011 +0200 @@ -894,7 +894,7 @@ targettypes = rschema.subjects(self.e_schema) else: select.add_constant_restriction(mainvar, 'is', targettypes, - 'String') + 'etype') gcard = greater_card(rschema, targettypes, (self.e_schema,), 1) etypecls = vreg['etypes'].etype_class(targettypes[0]) if len(targettypes) > 1: