Skip to content
Browse files

remove stray print statement from tag util

  • Loading branch information...
1 parent 5a6d9c6 commit 4f55290a37b727a773ea99a5aeabac63c5130b62 @ryanpitts ryanpitts committed Feb 17, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 source/tags/utils.py
View
3 source/tags/utils.py
@@ -37,7 +37,7 @@ def filter_queryset_by_tags(queryset, tag_slugs, tags=[]):
return queryset, tags
-def get_validated_tag_list(tag_slug_list, tags):
+def get_validated_tag_list(tag_slug_list, tags=[]):
_slugs_checked = []
for slug in tag_slug_list:
for model in [Tag, TechnologyTag, ConceptTag]:
@@ -67,6 +67,5 @@ def get_tag_filtered_queryset(queryset, tag_slug_list=[]):
queryset = queryset.filter(Q(tags__slug=tag_slug) | Q(technology_tags__slug=tag_slug) | Q(concept_tags__slug=tag_slug))
# A record might match multiple tags, but we only want it once
queryset = queryset.distinct()
- print queryset.query
return queryset

0 comments on commit 4f55290

Please sign in to comment.
Something went wrong with that request. Please try again.