Skip to content

Commit

Permalink
Merge branch 'main' of github.com:cve-search/vulnerability-lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Jan 21, 2025
2 parents 6c66b9c + 6e60be9 commit 6a1ee36
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vulnerabilitylookup/feeders/csaf_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def update(self, stop: Callable[..., bool]) -> bool:
if not paths_to_import:
return False

import_complete: bool = True
import_complete: bool = False
p = self.storage.pipeline()
csafids: dict[str, float] = {}
vuln_to_push = []
Expand Down Expand Up @@ -153,8 +153,9 @@ def update(self, stop: Callable[..., bool]) -> bool:

if stop():
self.logger.info('Shutdown requested. Stopping import.')
import_complete = False
break
else:
import_complete = True

if csafids:
# remaining entries
Expand Down

0 comments on commit 6a1ee36

Please sign in to comment.