diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-05 17:03:10 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-05 17:03:10 +0100 |
commit | 1677fff920c5a9e6485cc98694c4fa7617456fdb (patch) | |
tree | 2944ee893148abb9dbff0d7ac7b5eac7a844e4ed | |
parent | 77ce2d4ec5ec8fc0d487bf21510277557204bcc1 (diff) | |
download | jenkins.debian.net-1677fff920c5a9e6485cc98694c4fa7617456fdb.tar.xz |
reproducible: make sections work properly also for global pages
-rwxr-xr-x | bin/reproducible_html_indexes.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py index 3a5a8ffc..04e21014 100755 --- a/bin/reproducible_html_indexes.py +++ b/bin/reproducible_html_indexes.py @@ -326,12 +326,14 @@ def build_page_section(page, section, suite, arch): def build_page(page, suite=None, arch=None): if not suite: # global page log.info('Building the ' + page + ' global index page...') + page_sections = global_pages[page]['body'] else: log.info('Building the ' + page + ' index page for ' + suite + '/' + arch + '...') + page_sections = pages[page]['body'] html = '' footnote = False - for section in pages[page]['body']: + for section in page_sections: if not suite: # global page for lsuite in SUITES: for larch in ARCHES: |