[PATCH 50 of 54] merged

Wald Commits scm-commit at wald.intevation.org
Wed Jan 7 10:57:07 CET 2015


# HG changeset patch
# User Benoît Allard <benoit.allard at greenbone.net>
# Date 1419939110 -3600
# Node ID 3fd16093536e3dd1b88752afe89e933c5990e4e1
# Parent  3826f2701ff23d8c9c638a629897bab76a18825c
# Parent  2e36289616dbb78ec593a53058bf2ff6671c9d40
merged

diff -r 3826f2701ff2 -r 3fd16093536e CHANGES
--- 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)
 ===========================
 
diff -r 3826f2701ff2 -r 3fd16093536e farolluz/vulnerability.py
--- 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')


More information about the Farol-commits mailing list