diff options
author | W. Trevor King <wking@drexel.edu> | 2009-07-27 09:06:27 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-07-27 09:06:27 -0400 |
commit | df1c1cb1b2a33452ee4fa197c5145f07302a741a (patch) | |
tree | ad57da81d4344bb08ead8012cbae8b679e1b9106 /libbe/diff.py | |
parent | 92a6b40fd078fb069e987f6f45f967224df44e0d (diff) | |
download | bugseverywhere-df1c1cb1b2a33452ee4fa197c5145f07302a741a.tar.gz |
Tweaked the output text for modified bugs in libbe.diff and be-handle-mail.
Diffstat (limited to 'libbe/diff.py')
-rw-r--r-- | libbe/diff.py | 4 |
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) |