17713 fix underscore in datasource.sync (#17729)

This commit is contained in:
Arthur Hanson 2024-10-10 13:08:48 -07:00 committed by Brian Tiemann
parent 3cc45239df
commit 0f0abfa13c

View File

@ -198,7 +198,7 @@ class DataSource(JobsMixin, PrimaryModel):
logger.debug(f"Updated {updated_count} files")
# Bulk delete deleted files
deleted_count, _ = DataFile.objects.filter(pk__in=deleted_file_ids).delete()
deleted_count, __ = DataFile.objects.filter(pk__in=deleted_file_ids).delete()
logger.debug(f"Deleted {deleted_count} files")
# Walk the local replication to find new files