author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 24 Feb 2010 15:07:17 +0100 | |
branch | stable |
changeset 4695 | 4aaf87e7f79e |
parent 4694 | c19366a12281 |
child 4696 | ce3adab29aef |
--- a/server/migractions.py Wed Feb 24 15:00:37 2010 +0100 +++ b/server/migractions.py Wed Feb 24 15:07:17 2010 +0100 @@ -973,7 +973,7 @@ you usually want to use sync_schema_props_perms instead. """ oldvalue = None - for constr in self.repo.schema.eschema(etype).constraints(rtype): + for constr in self.repo.schema.eschema(etype).rdef(rtype).constraints: if isinstance(constr, SizeConstraint): oldvalue = constr.max if oldvalue == size: