Part of lp.bugs.scripts
|Function||getText||Get the text content of the given element|
|Function||handle_references||Handle the references on the given CVE xml DOM.|
|Function||update_one_cve||Update the state of a single CVE item.|
|Class||CVEUpdater||No class docstring; 2/3 methods documented|
This function is passed an XML dom representing a CVE, and a CVE database object. It looks for Refs in the XML data structure and ensures that those are correctly represented in the database.
It will try to find a relevant reference, and if so, update it. If not, it will create a new reference. Finally, it removes any old references that it no longer sees in the official CVE database. It will return True or False, indicating whether or not the cve was modified in the process.