diff --git a/src/text_buffer.py b/src/text_buffer.py index 91b0b57f..40b275b1 100644 --- a/src/text_buffer.py +++ b/src/text_buffer.py @@ -28,7 +28,7 @@ def other_elems(self): fields = message_fields.split() fields.remove('old_message') for field in fields: - acc.append('%s=%s' % (field, getattr(self, field))) + acc.append('%s=%s' % (field, repr(getattr(self, field)))) return (', '.join(acc) + ', old_message=') def repr_message(self):