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 04cab61 commit 6963158Copy full SHA for 6963158
vulnerabilities/importer.py
@@ -103,6 +103,8 @@ class Reference:
103
def __post_init__(self):
104
if not self.url:
105
raise TypeError("Reference must have a url")
106
+ if self.reference_id and not isinstance(self.reference_id, str):
107
+ self.reference_id = str(self.reference_id)
108
109
def __lt__(self, other):
110
if not isinstance(other, Reference):
0 commit comments