/[secure-testing]/bin/tracker_service.py
ViewVC logotype

Diff of /bin/tracker_service.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 18899 by thijs, Wed Mar 28 07:32:11 2012 UTC revision 18900 by geissert, Tue Apr 10 01:22:50 2012 UTC
# Line 299  data source.""")], Line 299  data source.""")],
299    
300          def gen_header():          def gen_header():
301              yield B("Name"), bug.name              yield B("Name"), bug.name
302    
303                nvd = self.db.getNVD(cursor, bug.name)
304    
305                if nvd and nvd.cve_desc:
306                    yield B("Description"), nvd.cve_desc
307                elif bug.description:
308                    yield B("Description"), bug.description
309    
310              source = bug.name.split('-')[0]              source = bug.name.split('-')[0]
311              if source == 'CVE':              if source == 'CVE':
# Line 328  data source.""")], Line 335  data source.""")],
335    
336              if source_xref:              if source_xref:
337                  yield B("Source"), 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  
338    
339              xref = list(self.db.getBugXrefs(cursor, bug.name))              xref = list(self.db.getBugXrefs(cursor, bug.name))
340              if xref:              if xref:

Legend:
Removed from v.18899  
changed lines
  Added in v.18900

  ViewVC Help
Powered by ViewVC 1.1.5