projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d552e
)
Minor fixes to get unittests working again.
author
W. Trevor King
<wking@drexel.edu>
Sun, 12 Jul 2009 12:52:50 +0000
(08:52 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Sun, 12 Jul 2009 12:52:50 +0000
(08:52 -0400)
libbe/comment.py
patch
|
blob
|
history
diff --git
a/libbe/comment.py
b/libbe/comment.py
index 7acbbb10962af32008cff0375b41a2b04a2fc4e4..a085741a9c716b478776a45f0c4837392c217fb3 100644
(file)
--- 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)