changeset 49:3fd16093536e

merged
author Benoît Allard <benoit.allard@greenbone.net>
date Tue, 30 Dec 2014 12:31:50 +0100
parents 3826f2701ff2 (current diff) 2e36289616db (diff)
children e6b52a8119cd
files CHANGES
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES	Tue Dec 30 12:30:19 2014 +0100
+++ b/CHANGES	Tue Dec 30 12:31:50 2014 +0100
@@ -5,6 +5,7 @@
 --------------------------------
 * Add parsing for CPE.
 * Add parsing for CVEs format from the OpenVAS Greenbone Security Manager.
+* Implement an HTML export format.
 
 
 FarolLuz 1.0 (2014-11-05)
@@ -22,6 +23,7 @@
 * Add method to rename groupIDs in the whole document.
 * Split the big cvrf.py file into smaller ones
 
+
 FarolLuz 0.1.1 (2014-10-17)
 ===========================
 
--- a/farolluz/vulnerability.py	Tue Dec 30 12:30:19 2014 +0100
+++ b/farolluz/vulnerability.py	Tue Dec 30 12:31:50 2014 +0100
@@ -331,7 +331,7 @@
         return ((0.6 * impact) + (0.4 * exploitability) - 1.5) * f(impact)
 
     def validate(self, productids):
-        if not self._basescore:
+        if self._basescore is None:
             raise ValidationError('A CVSS Score Set must have a Base Score')
         if self._vector and not self.vector:
             raise ValidationError('Syntax Error in CVSS Vector')
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)