summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/text_buffer.py2
1 files changed, 1 insertions, 1 deletions
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):