mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Set children on MoreRecursion objects.
This ensures that the json representation will have valid name, id, and children.
This commit is contained in:
@@ -780,6 +780,7 @@ class CommentBuilder(Builder):
|
||||
parent_id=parent_id))
|
||||
else:
|
||||
w = more_recursions[parent_id]
|
||||
w.children.append(comment_id)
|
||||
more_recursions[parent_id] = w
|
||||
|
||||
timer.intermediate("pick_comments")
|
||||
|
||||
Reference in New Issue
Block a user