From 4e763462e607b4722138555d8657e894180e393b Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Thu, 10 Oct 2024 13:08:48 -0700 Subject: [PATCH] 17713 fix underscore in datasource.sync (#17729) --- netbox/core/models/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/core/models/data.py b/netbox/core/models/data.py index 97f9fdac73..717449506c 100644 --- a/netbox/core/models/data.py +++ b/netbox/core/models/data.py @@ -201,7 +201,7 @@ def sync(self): 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