Skip to content

Commit

Permalink
Remove dead code originally used for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
sjuxax committed Dec 15, 2011
1 parent d4df9ce commit ec0cf0d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions raggregate/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']]
Expand Down

0 comments on commit ec0cf0d

Please sign in to comment.