@@ -267,22 +267,23 @@ def _record_quality_finding(
267
267
268
268
# TODO: Do not write import findings at import time, as it could cause
269
269
# confusing results.
270
- # We run osv-linter daily on all records and populate the linting bucket.
270
+ # We run osv-linter daily on all records and populate
271
+ # the linting bucket.
271
272
return
272
- # Get any current findings for this record.
273
- findingtimenow = utcnow ()
274
- if existing_finding := osv .ImportFinding .get_by_id (bug_id ):
275
- if maybe_new_finding not in existing_finding .findings :
276
- existing_finding .findings .append (maybe_new_finding )
277
- existing_finding .last_attempt : findingtimenow
278
- existing_finding .put ()
279
- else :
280
- osv .ImportFinding (
281
- bug_id = bug_id ,
282
- source = source ,
283
- findings = [maybe_new_finding ],
284
- first_seen = findingtimenow ,
285
- last_attempt = findingtimenow ).put ()
273
+ # # Get any current findings for this record.
274
+ # findingtimenow = utcnow()
275
+ # if existing_finding := osv.ImportFinding.get_by_id(bug_id):
276
+ # if maybe_new_finding not in existing_finding.findings:
277
+ # existing_finding.findings.append(maybe_new_finding)
278
+ # existing_finding.last_attempt: findingtimenow
279
+ # existing_finding.put()
280
+ # else:
281
+ # osv.ImportFinding(
282
+ # bug_id=bug_id,
283
+ # source=source,
284
+ # findings=[maybe_new_finding],
285
+ # first_seen=findingtimenow,
286
+ # last_attempt=findingtimenow).put()
286
287
287
288
def run (self ):
288
289
"""Run importer."""
0 commit comments