author | Sverre Rabbelier <srabbelier@gmail.com> |
Wed, 04 Mar 2009 23:11:33 +0000 | |
changeset 1672 | 9b6cc71dd70c |
parent 1671 | 7959bc7b77a9 |
child 1673 | 9f67ec81f1ef |
--- a/app/soc/logic/models/base.py Wed Mar 04 23:11:05 2009 +0000 +++ b/app/soc/logic/models/base.py Wed Mar 04 23:11:33 2009 +0000 @@ -255,10 +255,11 @@ if entity: return entity + key_fields = self.getKeyFieldsFromFields(fields) format_text = ugettext('"%(key)s" is "%(value)s"') msg_pairs = [format_text % {'key': key, 'value': value} - for key, value in fields.iteritems()] + for key, value in key_fields.iteritems()] joined_pairs = ' and '.join(msg_pairs)