There was an error while loading. Please reload this page.
1 parent cdc233d commit 44a6b58Copy full SHA for 44a6b58
1 file changed
vulnerabilities/scraper/ruby.py
@@ -78,6 +78,7 @@ def import_vulnerabilities():
78
vulnerability_package_dicts = []
79
for vulnerability in rubygem_advisories(RUBYSEC_DB_URL):
80
package = load_vulnerability_package(vulnerability)
81
- vulnerability_package_dicts.append(package)
+ if package:
82
+ vulnerability_package_dicts.append(package)
83
84
return vulnerability_package_dicts
0 commit comments