# HG changeset patch # User Sylvain Thénault # Date 1249552457 -7200 # Node ID 2f6edb0e96265e2b110db5c473cdcd691a02793c # Parent acdaf780d4a61ae25c78f5b2e73cb534c5bfc6ed [schema] yams api update diff -r acdaf780d4a6 -r 2f6edb0e9626 schema.py --- 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")