From 116c356bdb9b8e6d32af2419dda1d423b238efe1 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 24 Nov 2008 08:11:08 -0500 Subject: Removed auto-wrapping from comment.Comment.string(). It makes tracebacks almost illegible. I doubt markup/markdown systax or auto-formatting is really useful, since bugs-reports are ususally a short comment and a traceback. I also closed a4d38ba7-ec28-4096-a4f3-eb8c9790ffb2 and 7bfc591e-584a-476e-8e11-b548f1afcaa6, which have probably been fixed for a long time... --- libbe/comment.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libbe') diff --git a/libbe/comment.py b/libbe/comment.py index 710c773..7a90cca 100644 --- a/libbe/comment.py +++ b/libbe/comment.py @@ -150,8 +150,10 @@ class Comment(Tree): lines.append("From: %s" % self._clean_string(self.From)) lines.append("Date: %s" % utility.time_to_str(self.time)) lines.append("") - lines.append(textwrap.fill(self._clean_string(self.body), - width=(79-indent))) + #lines.append(textwrap.fill(self._clean_string(self.body), + # width=(79-indent))) + lines.append(self._clean_string(self.body)) + # some comments shouldn't be wrapped... istring = ' '*indent sep = '\n' + istring -- cgit