equal
deleted
inserted
replaced
137 if not card in '?1': |
137 if not card in '?1': |
138 qname = role_name('inlined', 'subject') |
138 qname = role_name('inlined', 'subject') |
139 rtype = self.name |
139 rtype = self.name |
140 stype = rdef.stype |
140 stype = rdef.stype |
141 otype = rdef.otype |
141 otype = rdef.otype |
142 msg = self._cw._("can't set inlined=%(inlined)s, " |
142 msg = self._cw._("can't set inlined=True, " |
143 "%(stype)s %(rtype)s %(otype)s " |
143 "%(stype)s %(rtype)s %(otype)s " |
144 "has cardinality=%(card)s") |
144 "has cardinality=%(card)s") |
145 raise ValidationError(self.eid, {qname: msg % locals()}) |
145 raise ValidationError(self.eid, {qname: msg % locals()}) |
146 |
146 |
147 def db_key_name(self): |
147 def db_key_name(self): |