# HG changeset patch # User Sylvain Thénault # Date 1296209311 -3600 # Node ID b61b844f2dad5f469e923dfd05a02a8986069269 # Parent 75849076fd6c2267b843ad5384d8fccf2bcb4211 [schema sync] fix crash when bad inlinment detected, inlined is not in the locals diff -r 75849076fd6c -r b61b844f2dad entities/schemaobjs.py --- a/entities/schemaobjs.py Thu Jan 27 18:46:47 2011 +0100 +++ b/entities/schemaobjs.py Fri Jan 28 11:08:31 2011 +0100 @@ -139,7 +139,7 @@ rtype = self.name stype = rdef.stype otype = rdef.otype - msg = self._cw._("can't set inlined=%(inlined)s, " + msg = self._cw._("can't set inlined=True, " "%(stype)s %(rtype)s %(otype)s " "has cardinality=%(card)s") raise ValidationError(self.eid, {qname: msg % locals()})