branch | stable |
changeset 6752 | 7351806cd485 |
parent 6582 | 8eb7883b4223 |
child 6864 | ea95004494a2 |
--- a/entities/adapters.py Sat Dec 18 23:11:58 2010 +0100 +++ b/entities/adapters.py Tue Dec 21 21:17:50 2010 +0100 @@ -484,5 +484,5 @@ def raise_user_exception(self): etype, rtypes = self.exc.args msg = self._cw._('violates unique_together constraints (%s)') % ( - ', '.join(self._cw._(rtypes))) + ', '.join([self._cw._(rtype) for rtype in rtypes])) raise ValidationError(self.entity.eid, dict((col, msg) for col in rtypes))