Skip to content

Commit

Permalink
Merge pull request #71 from yankovs/fix_db_cleanup
Browse files Browse the repository at this point in the history
Hotfix: typo in cleanup
danielplohmann authored Apr 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 3581643 + 3de8e71 commit fd4e415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcrit/Worker.py
Original file line number Diff line number Diff line change
@@ -212,7 +212,7 @@ def doDbCleanup(self, progress_reporter=NoProgressReporter()):
samples_to_be_deleted[job.sha256] = sample_entry
for failed_job_collection in [unmapped_failed, mapped_failed]:
for failed_job_dict in failed_job_collection:
job = Job(job_dict, None)
job = Job(failed_job_dict, None)
# failed job doesn't have finished_at, delete anyway
jobs_to_be_deleted.append(job)
if job.sha256 not in samples_to_be_deleted:

0 comments on commit fd4e415

Please sign in to comment.