summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-04-05 13:27:10 -0700
committereliott <eliott@cactuswax.net>2008-04-05 13:27:10 -0700
commit5f48dda94b593feefd906a7aa495427c870d6db9 (patch)
tree4d3fcd300f9e747b77ae41922ec943f1e9939faa /devel
parent1bac739c5cbf13163072d6929c43f686c4a828c9 (diff)
Fix for FS#9554
Backported and modified from 'master'
Diffstat (limited to 'devel')
-rw-r--r--devel/views.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/views.py b/devel/views.py
index f243d7d0..cbeaf156 100644
--- a/devel/views.py
+++ b/devel/views.py
@@ -36,7 +36,10 @@ def index(request):
'name': arch_name,
'count': Package.objects.filter(arch__exact = arch).count(),
'flagged': Package.objects.filter(
- arch__exact = arch).filter(needupdate=True).count()
+ arch__exact = arch).filter(needupdate=True).count(),
+ 'flagnotest': Package.objects.filter(
+ arch__exact = arch).filter(needupdate=True).exclude(
+ repo=Package.REPOS['testing']).count()
})
repo_stats = []