aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/comment.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-07-12 08:52:50 -0400
committerW. Trevor King <wking@drexel.edu>2009-07-12 08:52:50 -0400
commit51dee303dd3673dc702d54107c272f4180f43fb7 (patch)
tree64f4ea353f35ceb6b02563e034e2a0feadded3d7 /libbe/comment.py
parent76d552e5401df990a601f245f30f45d7c13cdd1e (diff)
downloadbugseverywhere-51dee303dd3673dc702d54107c272f4180f43fb7.tar.gz
Minor fixes to get unittests working again.
Diffstat (limited to 'libbe/comment.py')
-rw-r--r--libbe/comment.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbe/comment.py b/libbe/comment.py
index 7acbbb1..a085741 100644
--- a/libbe/comment.py
+++ b/libbe/comment.py
@@ -87,7 +87,6 @@ def list_to_root(comments, bug, root=None):
if rep == None or rep == bug.uuid:
root_comments.append(comm)
else:
- print comm.in_reply_to
parentUUID = comm.in_reply_to
parent = uuid_map[parentUUID]
parent.add_reply(comm)
@@ -351,7 +350,7 @@ class Comment(Tree, settings_object.SavedSettingsObject):
self.alt_id = uuid
if body != None:
if self.content_type.startswith("text/"):
- self.body = body
+ self.body = body+"\n" # restore trailing newline
else:
self.body = base64.decodestring(body)