Skip to content

Commit 689559d

Browse files
committed
minor review
1 parent 185bfe3 commit 689559d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcp/workers/worker/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,6 @@ def xact():
472472
ds_vuln.is_withdrawn = True
473473
ds_vuln.modified = proto_vuln.modified.ToDatetime(datetime.UTC)
474474
osv.models.put_entities(ds_vuln, proto_vuln)
475-
osv.update_affected_commits(vuln_id, [], False)
476475

477476
try:
478477
ndb.transaction(xact)
@@ -527,6 +526,7 @@ def _analyze_vulnerability(self, source_repo: osv.SourceRepository,
527526
return result
528527
# NB: Only OSS-Fuzz is editable - all other sources are read-only.
529528
# This should not be reachable by this worker.
529+
logging.error('Source %s flagged as editable', source_repo.name)
530530
output_path = os.path.join(osv.repo_path(repo), path)
531531
if self._push_new_ranges_and_versions(source_repo, repo, vulnerability,
532532
output_path, original_sha256):

0 commit comments

Comments
 (0)