[Secure-testing-commits] r14651 - lib/python/sectracker

Florian Weimer fw at alioth.debian.org
Sun May 9 11:37:52 UTC 2010


Author: fw
Date: 2010-05-09 11:37:48 +0000 (Sun, 09 May 2010)
New Revision: 14651

Modified:
   lib/python/sectracker/parsers.py
Log:
sectracker.parser._parselist(): do not drop last bug in file


Modified: lib/python/sectracker/parsers.py
===================================================================
--- lib/python/sectracker/parsers.py	2010-05-09 11:05:30 UTC (rev 14650)
+++ lib/python/sectracker/parsers.py	2010-05-09 11:37:48 UTC (rev 14651)
@@ -23,7 +23,7 @@
 import sectracker.xpickle as _xpickle
 import sectracker.diagnostics
 
-FORMAT = "2"
+FORMAT = "3"
 
 def _sortedtuple(seq):
     l = list(seq)
@@ -214,7 +214,7 @@
                 continue
 
     if header is not None:
-        finish(header, headerlineno, anns, diag)
+        bugs.append(finish(header, headerlineno, anns, diag))
     return List(tuple(bugs), diag.messages())
 
 @_xpickle.loader("CVE" + FORMAT)




More information about the Secure-testing-commits mailing list