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,