Mercurial > farol > farol
diff farol/vulnerability.py @ 100:5535ac5fef37
Be more permissive when parsing dates
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Fri, 10 Oct 2014 10:25:35 +0200 |
parents | 9b525f33080a |
children |
line wrap: on
line diff
--- a/farol/vulnerability.py Thu Oct 09 16:48:12 2014 +0200 +++ b/farol/vulnerability.py Fri Oct 10 10:25:35 2014 +0200 @@ -25,14 +25,13 @@ from flask import (Blueprint, render_template, abort, redirect, request, url_for) -from farolluz.parsers.cvrf import parseDate from farolluz.cvrf import (CVRFVulnerability, CVRFVulnerabilityID, CVRFNote, CVRFReference, CVRFCWE, CVRFInvolvement, CVRFThreat, CVRFProductStatus, CVRFCVSSSet, CVRFRemediation) from farolluz.renderer import utcnow from .controller import (update_note_from_request, create_note_from_request, - update_reference_from_request, create_reference_from_request, + update_reference_from_request, create_reference_from_request, parseDate, update_acknowledgment_from_request, create_acknowledgment_from_request) from .session import document_required, get_current