From e6d3b9dc9391e438cce5e8482e305b153ed1aaed Mon Sep 17 00:00:00 2001 From: Brian Simpson Date: Fri, 7 Mar 2014 17:26:14 -0500 Subject: [PATCH] CommentTreeStorageV3: remove check for comment id of -1. --- r2/r2/models/comment_tree.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/r2/r2/models/comment_tree.py b/r2/r2/models/comment_tree.py index b5b8015bc..c3429b1c2 100644 --- a/r2/r2/models/comment_tree.py +++ b/r2/r2/models/comment_tree.py @@ -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