Skip to content

Commit

Permalink
Adjust tests according to rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Tushar Goel <[email protected]>
  • Loading branch information
TG1999 committed Jan 26, 2023
1 parent 6658c1f commit f70f5e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vulnerabilities/importers/xen.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def to_advisories(self, xsa):
references.append(XsaReference.from_number(number=xsa_id))
title = xsa.get("title")
for cve in xsa.get("cve") or []:
#TODO: https://github.com/nexB/vulnerablecode/issues/981
# TODO: https://github.com/nexB/vulnerablecode/issues/981
if not is_cve(cve):
continue
yield AdvisoryData(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"severities": []
}
],
"date_published": null
"date_published": null,
"weaknesses": []
}
]

0 comments on commit f70f5e1

Please sign in to comment.