We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9037093 commit 015c0d6Copy full SHA for 015c0d6
osv/sources.py
@@ -17,7 +17,6 @@
17
import hashlib
18
import logging
19
import os
20
-import re
21
22
import jsonschema
23
import pygit2
@@ -166,7 +165,6 @@ def _get_nested_vulnerability(data, key_path=None):
166
165
def parse_vulnerability_from_dict(data, key_path=None, strict=False):
167
"""Parse vulnerability from dict."""
168
data = _get_nested_vulnerability(data, key_path)
169
-
170
try:
171
jsonschema.validate(data, load_schema())
172
except jsonschema.exceptions.ValidationError as e:
0 commit comments