From ec0cf0d51c83f21dd92ac079a37027406385765f Mon Sep 17 00:00:00 2001 From: Jeff Cook Date: Thu, 15 Dec 2011 15:20:23 -0700 Subject: [PATCH] Remove dead code originally used for debugging --- raggregate/queries.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/raggregate/queries.py b/raggregate/queries.py index 886a0b1..4e1525e 100644 --- a/raggregate/queries.py +++ b/raggregate/queries.py @@ -363,11 +363,6 @@ def get_comments_by_story_id(id, organize_parentage = False, page_num = 1, per_p if sort == 'new': roots = roots.order_by(Comment.added_on.desc()) - elif sort == 'sunshine': - roots = x - elif sort == 'ajaja': - roots = x - etc endpoints = get_endpoints_from_page_num(page_num, per_page) limited_roots = roots[endpoints['start']:endpoints['end']]