diff options
Diffstat (limited to 'bin')
-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: |