diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | collector/parse.py | 4 |
3 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ *pyc *~ tmp -xml +out @@ -2,6 +2,7 @@ collector ========= - Stability testing / fuzzing (Valgrind (?)) - Add more logging messages +- Use consistent logging - Check file integrity (?) - Use more telling variables - Clean up code diff --git a/collector/parse.py b/collector/parse.py index 40efede..8a606a7 100644 --- a/collector/parse.py +++ b/collector/parse.py @@ -157,7 +157,9 @@ def create_xml(directory, bugid, bug_dict, nvd_dict): intervals = interval.from_whiteboard(bug_dict['status_whiteboard']) if intervals: for item in intervals: - item.to_xml(affectedroot) #TODO: print cve if whiteboard is empty + item.to_xml(affectedroot) + else: + log.error('-> ' + bug_dict['bug_id']) else: node = et.SubElement(bugroot, element) node.text = xml_bug_dict[element] |