CommentTree.add_comments: Add orphaned comments to the tree
commit9bb3167fd5ea25574cc137e62412528f9bc1e475
authorBrian Simpson <bsimpson63@gmail.com>
Mon, 25 Jul 2016 18:10:58 +0000 (25 11:10 -0700)
committerBrian Simpson <bsimpson63@gmail.com>
Thu, 11 Aug 2016 20:45:47 +0000 (11 13:45 -0700)
tree15192694f964f2c58e51bd701eee9a84f2e49ab9
parent4bcc145941afa95f98c3cbce80c6843d9b98ae68
CommentTree.add_comments: Add orphaned comments to the tree

Adding them to the tree doesn't hurt anything--they still won't be
displayed until their parent comment is in the tree, but it does allow
for easier cleanup in case comments get processed out of order. Once their
parent is added to the tree everything will be consistent and fine.
r2/r2/models/comment_tree.py