From 8fc2346fc3b7cb421985e44a8a71361b083a680d Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 29 May 2016 15:15:41 +0000 Subject: reproducible debian: _live_status: collect usertagged bugs only once --- bin/reproducible_html_live_status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_live_status.py b/bin/reproducible_html_live_status.py index 2fe6b6b9..137312b3 100755 --- a/bin/reproducible_html_live_status.py +++ b/bin/reproducible_html_live_status.py @@ -12,6 +12,8 @@ from reproducible_common import * from reproducible_html_indexes import build_leading_text_section import glob +bugs = get_bugs() + def convert_into_status_html(status): if status != 'None': status, icon, spokenstatus = get_status_icon(status) @@ -38,7 +40,6 @@ def generate_schedule(arch): html += '

\n' + tab html += '' html += '\n' - bugs = get_bugs() for row in rows: # 0: date_scheduled, 1: suite, 2: arch, 3: pkg name 4: previous status 5: previous build duration 6. avg build duration pkg = row[3] @@ -111,7 +112,6 @@ def generate_oldies(arch): html += '

#scheduled atsuitearchsource packageprevious build statusprevious build durationaverage build duration
\n' + tab html += '' html += '\n' - bugs = get_bugs() for row in rows: # 0: suite, 1: arch, 2: pkg name 3: status 4: build date pkg = row[2] -- cgit v1.2.3-70-g09d2
#suitearchsource packagestatusbuild date