summaryrefslogtreecommitdiff
path: root/todolists/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-03 21:07:26 -0600
committerDan McGee <dan@archlinux.org>2010-03-06 15:37:02 -0600
commitd4155f7d0fcec64f45f713e5bfdd33db990023b0 (patch)
tree1cd1248a8ad7ee2425eb6b806b41880558bc6cbd /todolists/views.py
parent96b4c52f6d536e5fc21389b65528f2b116aa74ca (diff)
Use repo.testing flag instead of test-based checks
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'todolists/views.py')
-rw-r--r--todolists/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/todolists/views.py b/todolists/views.py
index f176e39c..411c0dbb 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -27,7 +27,7 @@ class TodoListForm(forms.Form):
package_names = set(package_names)
packages = Package.objects.filter(
pkgname__in=package_names).exclude(
- repo__name__endswith="Testing").order_by('arch')
+ repo__testing=True).order_by('arch')
return packages