mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
CommentTreeStorageV3: remove check for comment id of -1.
This commit is contained in:
@@ -159,8 +159,6 @@ class CommentTreeStorageV3(CommentTreeStorageBase):
|
||||
depth = {}
|
||||
parents = {}
|
||||
for (d, pid, cid), val in row:
|
||||
if cid == -1:
|
||||
continue
|
||||
if pid == cls.NO_PARENT:
|
||||
pid = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user