changeset 2716 | 2f6edb0e9626 |
parent 2691 | ade319674170 |
child 2718 | 3a56b87bb5d6 |
--- 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")