diff options
author | eliott <eliott@cactuswax.net> | 2008-04-05 13:27:10 -0700 |
---|---|---|
committer | eliott <eliott@cactuswax.net> | 2008-04-05 13:27:10 -0700 |
commit | 5f48dda94b593feefd906a7aa495427c870d6db9 (patch) | |
tree | 4d3fcd300f9e747b77ae41922ec943f1e9939faa /devel | |
parent | 1bac739c5cbf13163072d6929c43f686c4a828c9 (diff) |
Fix for FS#9554
Backported and modified from 'master'
Diffstat (limited to 'devel')
-rw-r--r-- | devel/views.py | 5 |
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 = [] |