[Secure-testing-commits] r2512 - lib/python
Florian Weimer
fw at costa.debian.org
Thu Oct 20 13:52:02 UTC 2005
Author: fw
Date: 2005-10-20 13:52:01 +0000 (Thu, 20 Oct 2005)
New Revision: 2512
Modified:
lib/python/nvd.py
Log:
lib/python/nvd.py (_Parser.endElement):
Tempoarily normalize CAN to CVE.
Modified: lib/python/nvd.py
===================================================================
--- lib/python/nvd.py 2005-10-20 13:47:06 UTC (rev 2511)
+++ lib/python/nvd.py 2005-10-20 13:52:01 UTC (rev 2512)
@@ -77,7 +77,11 @@
def endElement(self, name):
if name == 'entry':
- self.result.append((self.name,
+ # FIXME: normalize CAN to CVE. Should go away soon.
+ name = self.name
+ if name[0:4] == 'CAN-':
+ name = 'CVE-' + name[4:]
+ self.result.append((name,
self.discovered,
self.published,
self.severity,
More information about the Secure-testing-commits
mailing list