aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/diff.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/diff.py')
-rw-r--r--libbe/diff.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbe/diff.py b/libbe/diff.py
index 4164e94..0956624 100644
--- a/libbe/diff.py
+++ b/libbe/diff.py
@@ -398,7 +398,9 @@ class Diff (object):
first_line = comment.body.splitlines()[0]
return "%s\n %s..." % (summary, first_line)
def comment_rem_string(self, comment):
- return self._comment_summary_string(comment)
+ summary = self._comment_summary_string(comment)
+ first_line = comment.body.splitlines()[0]
+ return "%s\n %s..." % (summary, first_line)
def comment_mod_string(self, comments):
old_comment,new_comment = comments
return self._comment_summary_string(new_comment)