From 5c5ca53b703dd81b693ddf43c5f51590002dd78b Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Fri, 21 Jul 2006 19:12:51 +0000 Subject: [PATCH] Fixed bug in comment feed turned up by pyflakes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3413 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/comments/feeds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/comments/feeds.py b/django/contrib/comments/feeds.py index 1dcccb1abca..34cf3d9cef3 100644 --- a/django/contrib/comments/feeds.py +++ b/django/contrib/comments/feeds.py @@ -36,6 +36,6 @@ class LatestCommentsFeed(LatestFreeCommentsFeed): qs = qs.filter(is_removed=False) if settings.COMMENTS_BANNED_USERS_GROUP: where = ['user_id NOT IN (SELECT user_id FROM auth_users_group WHERE group_id = %s)'] - params = [COMMENTS_BANNED_USERS_GROUP] + params = [settings.COMMENTS_BANNED_USERS_GROUP] qs = qs.extra(where=where, params=params) return qs