From: W. Trevor King Date: Sun, 12 Jul 2009 12:52:50 +0000 (-0400) Subject: Minor fixes to get unittests working again. X-Git-Tag: 1.0.0~64^2~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=51dee303dd3673dc702d54107c272f4180f43fb7;p=be.git Minor fixes to get unittests working again. --- 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)