[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible: fix armhf links

Holger Levsen holger at moszumanska.debian.org
Mon Aug 31 09:58:14 UTC 2015


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

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 569bbc56058da2d0f61aeb819dd2c436d9fc1ebb
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Aug 31 11:57:45 2015 +0200

    reproducible: fix armhf links
---
 bin/reproducible_html_indexes.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py
index f02ce40..49dfe25 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -37,7 +37,7 @@ Reference doc for the folowing lists:
       * $count being the len() of the query indicated by `query2`
     - `query2`: useful only if `timely` is True.
     - `nosuite`: if true do not iterate over the suite/archs, use only the
-      defaults
+      current suite+arch
   + global: if true, then the page will saved on the root of rb.d.n, and:
     - the query also takes the value "status"
     - force the suite/arch to the defaults
@@ -446,8 +446,8 @@ def build_leading_text_section(section, rows, suite, arch):
 def build_page_section(page, section, suite, arch):
     try:
         if pages[page].get('global') and pages[page]['global']:
-            suite = defaultsuite if not suite else suite
-            arch = defaultarch if not arch else arch
+            suite = defaultsuite
+            arch = defaultarch
         if pages[page].get('notes') and pages[page]['notes']:
             query = queries[section['query']].format(
                 status=section['db_status'], suite=suite, arch=arch)
@@ -509,7 +509,7 @@ def build_page(page, suite=None, arch=None):
     for section in page_sections:
         if gpage:
             if section.get('nosuite') and section['nosuite']:  # only defaults
-                html += build_page_section(page, section, None, None)[0]
+                html += build_page_section(page, section, suite, arch)[0]
             else:
                 for suite in SUITES:
                     for arch in ARCHS:

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



More information about the Qa-jenkins-scm mailing list