From d4155f7d0fcec64f45f713e5bfdd33db990023b0 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 3 Mar 2010 21:07:26 -0600 Subject: Use repo.testing flag instead of test-based checks Signed-off-by: Dan McGee --- todolists/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'todolists') 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 @@ def clean_packages(self): 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 -- cgit v1.2.3-54-g00ecf