Author: jacob
Date: 2006-07-21 14:12:51 -0500 (Fri, 21 Jul 2006)
New Revision: 3413

Modified:
   django/trunk/django/contrib/comments/feeds.py
Log:
Fixed bug in comment feed turned up by pyflakes.

Modified: django/trunk/django/contrib/comments/feeds.py
===================================================================
--- django/trunk/django/contrib/comments/feeds.py       2006-07-21 18:15:02 UTC 
(rev 3412)
+++ django/trunk/django/contrib/comments/feeds.py       2006-07-21 19:12:51 UTC 
(rev 3413)
@@ -36,6 +36,6 @@
         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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to