[Secure-testing-commits] r18900 - bin
Raphael Geissert
geissert at alioth.debian.org
Tue Apr 10 01:22:51 UTC 2012
Author: geissert
Date: 2012-04-10 01:22:50 +0000 (Tue, 10 Apr 2012)
New Revision: 18900
Modified:
bin/tracker_service.py
Log:
Move the description above the lot of links
Modified: bin/tracker_service.py
===================================================================
--- bin/tracker_service.py 2012-04-09 21:14:58 UTC (rev 18899)
+++ bin/tracker_service.py 2012-04-10 01:22:50 UTC (rev 18900)
@@ -299,7 +299,14 @@
def gen_header():
yield B("Name"), bug.name
+
+ nvd = self.db.getNVD(cursor, bug.name)
+ if nvd and nvd.cve_desc:
+ yield B("Description"), nvd.cve_desc
+ elif bug.description:
+ yield B("Description"), bug.description
+
source = bug.name.split('-')[0]
if source == 'CVE':
source_xref = compose(self.make_cve_ref(url, bug.name, 'CVE'),
@@ -328,14 +335,7 @@
if source_xref:
yield B("Source"), source_xref
-
- nvd = self.db.getNVD(cursor, bug.name)
- if nvd and nvd.cve_desc:
- yield B("Description"), nvd.cve_desc
- elif bug.description:
- yield B("Description"), bug.description
-
xref = list(self.db.getBugXrefs(cursor, bug.name))
if xref:
yield B("References"), self.make_xref_list(url, xref)
More information about the Secure-testing-commits
mailing list