[buildinfo.debian.net] 02/03: Limit version page to the version we are interested in.

Chris Lamb chris at chris-lamb.co.uk
Tue Nov 8 14:29:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository buildinfo.debian.net.

commit 34b75f8c1acbe731b1c87dccb6d0917daa58229e
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Nov 8 14:26:11 2016 +0000

    Limit version page to the version we are interested in.
---
 bidb/packages/views.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bidb/packages/views.py b/bidb/packages/views.py
index 265452c..13231a9 100644
--- a/bidb/packages/views.py
+++ b/bidb/packages/views.py
@@ -44,7 +44,9 @@ def source_version(request, name, version):
         raise Http404()
 
     buildinfos_by_arch = groupby(
-        source.buildinfos.order_by(
+        source.buildinfos.filter(
+            version=version,
+        ).order_by(
             'architecture__name',
         ),
         lambda x: x.architecture.name,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/buildinfo.debian.net.git



More information about the Reproducible-commits mailing list