Author: fw Date: 2005-12-17 11:57:44 +0000 (Sat, 17 Dec 2005) New Revision: 3079 Modified: bin/tracker_service.py Log: bin/tracker_service.py (TrackerService.page_bug): Make header more compact. Modified: bin/tracker_service.py ==================================================================--- bin/tracker_service.py 2005-12-17 11:17:21 UTC (rev 3078) +++ bin/tracker_service.py 2005-12-17 11:57:44 UTC (rev 3079) @@ -265,11 +265,13 @@ yield B("References"), self.make_xref_list(url, xref) if nvd: + nvd_range = nvd.rangeString() if nvd.severity: - yield B("NVD severity"), nvd.severity.lower() - nvd_range = nvd.rangeString() - if nvd_range: - yield B("NVD attack range"), nvd_range + nvd_severity = nvd.severity.lower() + if nvd_range: + nvd_severity = "%s (attack range: %s)" \ + % (nvd_severity, nvd_range) + yield B("NVD severity"), nvd_severity debian_bugs = bug.getDebianBugs(cursor) if debian_bugs: @@ -280,7 +282,7 @@ for (release, status, reason) in bug.getStatus(cursor): if status <> ''fixed'': reason = self.make_red(reason) - yield B(''Status of %s'' % release), reason + yield B(''%s status'' % release), reason page.append(make_table(gen_header()))