author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Thu, 06 Aug 2009 11:54:17 +0200 | |
changeset 2716 | 2f6edb0e9626 |
parent 2715 | acdaf780d4a6 |
child 2717 | 23fe250deb02 |
--- a/schema.py Thu Aug 06 09:51:52 2009 +0200 +++ b/schema.py Thu Aug 06 11:54:17 2009 +0200 @@ -516,7 +516,7 @@ def __init__(self, restriction): self.restriction = restriction - def check_consistency(self, subjschema, objschema): + def check_consistency(self, subjschema, objschema, rdef): if objschema.is_final(): raise BadSchemaDefinition("unique constraint doesn't apply to " "final entity type")