aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2008-11-24 08:11:08 -0500
committerW. Trevor King <wking@drexel.edu>2008-11-24 08:11:08 -0500
commit116c356bdb9b8e6d32af2419dda1d423b238efe1 (patch)
tree9b016193f269b4d6090684c3f24bad6189df79cc /libbe
parent5fd5bc89a2ec270d3e0b01f583012eaaf7750693 (diff)
downloadbugseverywhere-116c356bdb9b8e6d32af2419dda1d423b238efe1.tar.gz
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...
Diffstat (limited to 'libbe')
-rw-r--r--libbe/comment.py6
1 files changed, 4 insertions, 2 deletions
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